summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorangelos <angelos@openbsd.org>2000-01-23 03:51:03 +0000
committerangelos <angelos@openbsd.org>2000-01-23 03:51:03 +0000
commita29b23d2108ed6a7ccfffa1115781d326a35425f (patch)
tree4318fe9c363681e72773feb89a2dddadb3c8aed3
parentrpc.lockd has nothing to do with rpc.rstatd; dwmalone@maths.tcd.ie (diff)
downloadwireguard-openbsd-a29b23d2108ed6a7ccfffa1115781d326a35425f.tar.xz
wireguard-openbsd-a29b23d2108ed6a7ccfffa1115781d326a35425f.zip
ip4_input -> ip4_input6, and fix typo in comment
-rw-r--r--sys/netinet6/in6_proto.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet6/in6_proto.c b/sys/netinet6/in6_proto.c
index 1cb08c6c6b3..1843a35588e 100644
--- a/sys/netinet6/in6_proto.c
+++ b/sys/netinet6/in6_proto.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: in6_proto.c,v 1.14 2000/01/21 03:15:06 angelos Exp $ */
+/* $OpenBSD: in6_proto.c,v 1.15 2000/01/23 03:51:03 angelos Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -209,7 +209,7 @@ struct ip6protosw inet6sw[] = {
0, 0, 0, 0,
},
#endif /* INET */
-#else /* NFIG */
+#else /* NGIF */
{ SOCK_RAW, &inet6domain, IPPROTO_IPV6, PR_ATOMIC|PR_ADDR,
ip4_input6, rip6_output, 0, rip6_ctloutput,
rip6_usrreq, /* XXX */
@@ -217,7 +217,7 @@ struct ip6protosw inet6sw[] = {
},
#ifdef INET
{ SOCK_RAW, &inet6domain, IPPROTO_IPV4, PR_ATOMIC|PR_ADDR,
- ip4_input, rip6_output, 0, rip6_ctloutput,
+ ip4_input6, rip6_output, 0, rip6_ctloutput,
0,
0, 0, 0, 0,
},