summaryrefslogtreecommitdiffstats
path: root/sys/netinet/raw_ip.c
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2017-01-23 16:31:24 +0000
committerbluhm <bluhm@openbsd.org>2017-01-23 16:31:24 +0000
commit7a36025f5cadc870452147314585ff9bd9d5f9b9 (patch)
treeb22723ad804722ab2fbdb102638f7d30ce3fd3c1 /sys/netinet/raw_ip.c
parentremove line that slipped in with rev 1.77 but doesn't belong there; ok sthen@ (diff)
downloadwireguard-openbsd-7a36025f5cadc870452147314585ff9bd9d5f9b9.tar.xz
wireguard-openbsd-7a36025f5cadc870452147314585ff9bd9d5f9b9.zip
The function raw_input() has not been called since netiso has been
removed in 2004. The comment about raw_input() above rip_input() was added in 1981, but it is wrong since 1992. After that it has been copied to rip6_input(). (*pr_input)() is never called with the parameters (mbuf, sockproto, sockaddr, sockaddr). So retire raw_input(). OK guenther@ deraadt@
Diffstat (limited to 'sys/netinet/raw_ip.c')
-rw-r--r--sys/netinet/raw_ip.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/netinet/raw_ip.c b/sys/netinet/raw_ip.c
index 0282e35682d..0ee9070c5e3 100644
--- a/sys/netinet/raw_ip.c
+++ b/sys/netinet/raw_ip.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: raw_ip.c,v 1.91 2017/01/10 09:01:18 mpi Exp $ */
+/* $OpenBSD: raw_ip.c,v 1.92 2017/01/23 16:31:24 bluhm Exp $ */
/* $NetBSD: raw_ip.c,v 1.25 1996/02/18 18:58:33 christos Exp $ */
/*
@@ -115,11 +115,6 @@ rip_init(void)
struct sockaddr_in ripsrc = { sizeof(ripsrc), AF_INET };
-/*
- * Setup generic address and protocol structures
- * for raw_input routine, then pass them along with
- * mbuf chain.
- */
void
rip_input(struct mbuf *m, ...)
{