summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfgsch <fgsch@openbsd.org>2000-01-13 06:48:21 +0000
committerfgsch <fgsch@openbsd.org>2000-01-13 06:48:21 +0000
commit0e5982e10dfc7965196f43851e4fd337f102eaf1 (patch)
tree1f67f28b5e5c68e5dbcde99d2fd9c50d4c8df7a8
parentEstablish ingress flows. (diff)
downloadwireguard-openbsd-0e5982e10dfc7965196f43851e4fd337f102eaf1.tar.xz
wireguard-openbsd-0e5982e10dfc7965196f43851e4fd337f102eaf1.zip
Remove error protocol.
-rw-r--r--sys/netipx/ipx.h3
-rw-r--r--sys/netipx/ipx_proto.c7
2 files changed, 2 insertions, 8 deletions
diff --git a/sys/netipx/ipx.h b/sys/netipx/ipx.h
index 8da701cdeec..2ee147c6b8a 100644
--- a/sys/netipx/ipx.h
+++ b/sys/netipx/ipx.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipx.h,v 1.9 2000/01/13 04:36:40 fgsch Exp $ */
+/* $OpenBSD: ipx.h,v 1.10 2000/01/13 06:48:21 fgsch Exp $ */
/*-
*
@@ -53,7 +53,6 @@
#define IPXPROTO_UNKWN 0 /* Unknown */
#define IPXPROTO_RI 1 /* RIP Routing Information */
#define IPXPROTO_ECHO 2 /* Echo Protocol */
-#define IPXPROTO_ERROR 3 /* Error Protocol */
#define IPXPROTO_PXP 4 /* PXP Packet Exchange */
#define IPXPROTO_SPX 5 /* SPX Sequenced Packet */
#define IPXPROTO_NCP 17 /* NCP NetWare Core */
diff --git a/sys/netipx/ipx_proto.c b/sys/netipx/ipx_proto.c
index 6c6494acb85..400391544bd 100644
--- a/sys/netipx/ipx_proto.c
+++ b/sys/netipx/ipx_proto.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipx_proto.c,v 1.3 1996/11/25 08:20:00 mickey Exp $ */
+/* $OpenBSD: ipx_proto.c,v 1.4 2000/01/13 06:48:21 fgsch Exp $ */
/*-
*
@@ -82,11 +82,6 @@ struct protosw ipxsw[] = {
ipx_raw_usrreq,
0, 0, 0, 0, ipx_sysctl
},
-{ SOCK_RAW, &ipxdomain, IPXPROTO_ERROR, PR_ATOMIC|PR_ADDR,
- 0, ipx_output, ipx_ctlinput, ipx_ctloutput,
- ipx_raw_usrreq,
- 0, 0, 0, 0, ipx_sysctl
-},
#ifdef IPTUNNEL
{ SOCK_RAW, &ipxdomain, IPPROTO_IPX, PR_ATOMIC|PR_ADDR,
iptun_input, rip_output, iptun_ctlinput, 0,