summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-01-17 05:17:25 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-01-17 05:17:25 +0000
commit15d309b63deac2f651b2532f158d6cb3656c8980 (patch)
tree8939008df0928cc3d0ae5722ab8c0911af0840b4 /sys/netinet
parenta6e4d9d2e85e15ced0f9bc7fb3a5a4a354b33ffc (diff)
fix "traceroute -P 41", outgoing side. incoming side needs fix in
ip4_input(). Requested from: Niels Provos <provos@citi.umich.edu>
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/in_proto.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/netinet/in_proto.c b/sys/netinet/in_proto.c
index ecd6f3d13d1..00b91a4facc 100644
--- a/sys/netinet/in_proto.c
+++ b/sys/netinet/in_proto.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: in_proto.c,v 1.22 2000/01/11 07:57:23 angelos Exp $ */
+/* $OpenBSD: in_proto.c,v 1.23 2000/01/17 05:17:24 itojun Exp $ */
/* $NetBSD: in_proto.c,v 1.14 1996/02/18 18:58:32 christos Exp $ */
/*
@@ -198,26 +198,26 @@ struct protosw inetsw[] = {
#if NGIF > 0
{ SOCK_RAW, &inetdomain, IPPROTO_IPV4, PR_ATOMIC|PR_ADDR,
in_gif_input, rip_output, 0, rip_ctloutput,
- 0,
+ rip_usrreq,
0, 0, 0, 0, ip4_sysctl
},
#ifdef INET6
{ SOCK_RAW, &inetdomain, IPPROTO_IPV6, PR_ATOMIC|PR_ADDR,
- in_gif_input, 0, 0, 0,
- 0,
+ in_gif_input, rip_output, 0, 0,
+ rip_usrreq, /*XXX*/
0, 0, 0, 0,
},
#endif /* INET6 */
#else /* NGIF */
{ SOCK_RAW, &inetdomain, IPPROTO_IPIP, PR_ATOMIC|PR_ADDR,
ip4_input, rip_output, 0, rip_ctloutput,
- rip_usrreq, /* XXX */
+ rip_usrreq,
0, 0, 0, 0, ip4_sysctl
},
#ifdef INET6
{ SOCK_RAW, &inetdomain, IPPROTO_IPV6, PR_ATOMIC|PR_ADDR,
ip4_input, rip_output, 0, rip_ctloutput,
- 0,
+ rip_usrreq, /*XXX*/
0, 0, 0, 0,
},
#endif /* INET6 */