summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2017-01-23 16:31:25 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2017-01-23 16:31:25 +0000
commita50ee21d011166d65ba0a2a5eec828ec66277009 (patch)
treea65235da7e71513e9474900fe8e1503a0d2d775e /sys/netinet
parent06a79ef18b5c5db2e96d5ef1cf36e2e7402125d4 (diff)
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')
-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, ...)
{