summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/in6_proto.c
diff options
context:
space:
mode:
authoritojun <itojun@openbsd.org>2000-02-28 16:40:39 +0000
committeritojun <itojun@openbsd.org>2000-02-28 16:40:39 +0000
commit763eaa77a0e4ce7af56e41876ff947d8146b705b (patch)
tree3ae16bf1bb7c8e31b438bb8c21f46573f978278d /sys/netinet6/in6_proto.c
parentSanitize v{,un}mapbuf. (use the sizes we are passed, not the size from b_count); art (diff)
downloadwireguard-openbsd-763eaa77a0e4ce7af56e41876ff947d8146b705b.tar.xz
wireguard-openbsd-763eaa77a0e4ce7af56e41876ff947d8146b705b.zip
- check raw socket icmp6 filter only if the packet is icmp6.
- allow setting raw socket icmp6 filter only if it is IPPROTO_ICMPV6 socket. (cmetz may object about above two items...) - add rip6_ctlinput, to flush cached router properly on redirects.
Diffstat (limited to 'sys/netinet6/in6_proto.c')
-rw-r--r--sys/netinet6/in6_proto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/in6_proto.c b/sys/netinet6/in6_proto.c
index 85128e8563e..e519519c260 100644
--- a/sys/netinet6/in6_proto.c
+++ b/sys/netinet6/in6_proto.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: in6_proto.c,v 1.18 2000/02/28 11:55:22 itojun Exp $ */
+/* $OpenBSD: in6_proto.c,v 1.19 2000/02/28 16:40:39 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -149,7 +149,7 @@ struct ip6protosw inet6sw[] = {
},
#endif /*TCP6*/
{ SOCK_RAW, &inet6domain, IPPROTO_RAW, PR_ATOMIC | PR_ADDR,
- rip6_input, rip6_output, 0, rip6_ctloutput,
+ rip6_input, rip6_output, rip6_ctlinput, rip6_ctloutput,
rip6_usrreq,
0, 0, 0, 0,
},