Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108640855
D32698.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
880 B
Referenced Files
None
Subscribers
None
D32698.diff
View Options
diff --git a/sys/netinet/siftr.c b/sys/netinet/siftr.c
--- a/sys/netinet/siftr.c
+++ b/sys/netinet/siftr.c
@@ -99,7 +99,7 @@
#ifdef SIFTR_IPV6
#include <netinet/ip6.h>
-#include <netinet/ip6_var.h>
+#include <netinet6/ip6_var.h>
#include <netinet6/in6_pcb.h>
#endif /* SIFTR_IPV6 */
@@ -1007,8 +1007,9 @@
}
#ifdef SIFTR_IPV6
-static int
-siftr_chkpkt6(struct mbuf **m, struct ifnet *ifp, int flags, struct inpcb *inp)
+static pfil_return_t
+siftr_chkpkt6(struct mbuf **m, struct ifnet *ifp, int flags,
+ void *ruleset __unused, struct inpcb *inp)
{
struct pkt_node *pn;
struct ip6_hdr *ip6;
@@ -1134,7 +1135,7 @@
VNET_DEFINE_STATIC(pfil_hook_t, siftr_inet_hook);
#define V_siftr_inet_hook VNET(siftr_inet_hook)
-#ifdef INET6
+#ifdef SIFTR_IPV6
VNET_DEFINE_STATIC(pfil_hook_t, siftr_inet6_hook);
#define V_siftr_inet6_hook VNET(siftr_inet6_hook)
#endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 28, 1:09 AM (10 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16231572
Default Alt Text
D32698.diff (880 B)
Attached To
Mode
D32698: SIFTR: Fix compilation with -DSIFTR_IPV6
Attached
Detach File
Event Timeline
Log In to Comment