summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-01-08 01:04:18 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-01-08 01:04:18 +0000
commit017a2a281ae476f7e3f513cd75351960d6df2d89 (patch)
tree1430aa77cae090e2f7eb1fa2eacab16cdb686b4a /sys/netinet
parentc9d47356d9a865b885ebe7be75395523398b07ed (diff)
rip_input() should be called with a 0 terminator; cmetz
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip_icmp.c4
-rw-r--r--sys/netinet/ip_mroute.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/netinet/ip_icmp.c b/sys/netinet/ip_icmp.c
index 5ecf31a133e..9603862ebd7 100644
--- a/sys/netinet/ip_icmp.c
+++ b/sys/netinet/ip_icmp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_icmp.c,v 1.14 1998/12/31 12:55:46 deraadt Exp $ */
+/* $OpenBSD: ip_icmp.c,v 1.15 1999/01/08 01:04:17 deraadt Exp $ */
/* $NetBSD: ip_icmp.c,v 1.19 1996/02/13 23:42:22 christos Exp $ */
/*
@@ -441,7 +441,7 @@ reflect:
}
raw:
- rip_input(m);
+ rip_input(m, 0);
return;
freeit:
diff --git a/sys/netinet/ip_mroute.c b/sys/netinet/ip_mroute.c
index 0bdde09c3ea..3471e902b95 100644
--- a/sys/netinet/ip_mroute.c
+++ b/sys/netinet/ip_mroute.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_mroute.c,v 1.11 1998/12/26 12:35:11 provos Exp $ */
+/* $OpenBSD: ip_mroute.c,v 1.12 1999/01/08 01:04:17 deraadt Exp $ */
/* $NetBSD: ip_mroute.c,v 1.27 1996/05/07 02:40:50 thorpej Exp $ */
/*
@@ -1454,7 +1454,7 @@ ipip_input(m, va_alist)
#ifndef IPSEC
if (!have_encap_tunnel) {
- rip_input(m);
+ rip_input(m, 0);
return;
}
#endif
@@ -1478,7 +1478,7 @@ ipip_input(m, va_alist)
#ifdef IPSEC
if (!have_encap_tunnel) {
- rip_input(m);
+ rip_input(m, 0);
return;
}
#endif
@@ -1979,7 +1979,7 @@ rsvp_input(m, ifp)
if (ip_rsvpd != NULL) {
if (rsvpdebug)
printf("rsvp_input: Sending packet up old-style socket\n");
- rip_input(m);
+ rip_input(m, 0);
return;
}