* netfilter enum conflict?
@ 2001-01-01 17:49 Mark James
2001-01-01 23:29 ` Rusty Russell
0 siblings, 1 reply; 2+ messages in thread
From: Mark James @ 2001-01-01 17:49 UTC (permalink / raw)
To: linux-kernel
Hi:
include/linux/netfilter_ipv4.h and include/linux/netfilter_ipv6.h
both define enum nf_ip_hook_priorities. This trips the compiler
if both are included. Should one change to nf_ipv6_hook_priorities?
Mark
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: netfilter enum conflict?
2001-01-01 17:49 netfilter enum conflict? Mark James
@ 2001-01-01 23:29 ` Rusty Russell
0 siblings, 0 replies; 2+ messages in thread
From: Rusty Russell @ 2001-01-01 23:29 UTC (permalink / raw)
To: Mark James; +Cc: torvalds, linux-kernel
In message <3A50C32C.91350CB@cs.usyd.edu.au> you write:
> Hi:
>
> include/linux/netfilter_ipv4.h and include/linux/netfilter_ipv6.h
> both define enum nf_ip_hook_priorities. This trips the compiler
> if both are included. Should one change to nf_ipv6_hook_priorities?
Yes. Only noone has ever included both yet.
Rusty.
--
Hacking time.
--- working-2.4.0-test13-3/include/linux/netfilter_ipv6.h.~1~ Tue May 23 02:50:55 2000
+++ working-2.4.0-test13-3/include/linux/netfilter_ipv6.h Tue Jan 2 10:27:51 2001
@@ -54,7 +54,7 @@
#define NF_IP6_NUMHOOKS 5
-enum nf_ip_hook_priorities {
+enum nf_ip6_hook_priorities {
NF_IP6_PRI_FIRST = INT_MIN,
NF_IP6_PRI_CONNTRACK = -200,
NF_IP6_PRI_MANGLE = -150,
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-01-02 0:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-01 17:49 netfilter enum conflict? Mark James
2001-01-01 23:29 ` Rusty Russell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox