diff options
author | bluhm <bluhm@openbsd.org> | 2017-01-23 16:31:24 +0000 |
---|---|---|
committer | bluhm <bluhm@openbsd.org> | 2017-01-23 16:31:24 +0000 |
commit | 7a36025f5cadc870452147314585ff9bd9d5f9b9 (patch) | |
tree | b22723ad804722ab2fbdb102638f7d30ce3fd3c1 /sys/netinet/raw_ip.c | |
parent | remove line that slipped in with rev 1.77 but doesn't belong there; ok sthen@ (diff) | |
download | wireguard-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.c | 7 |
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, ...) { |