summaryrefslogtreecommitdiff
path: root/usr.sbin/pppd
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2003-05-14 02:02:57 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2003-05-14 02:02:57 +0000
commitb969db78093b7ecbff89fd06edf87a66122de457 (patch)
treeb51f8e8f971c9efecda3c6a7f5eac56cd081e995 /usr.sbin/pppd
parent7a7d6d9132db71b6d20affe529c5d103faf0c083 (diff)
move ETHERTYPE_xx declarations to <net/ethertypes.h>. meets netbsd practice.
deraadt ok
Diffstat (limited to 'usr.sbin/pppd')
-rw-r--r--usr.sbin/pppd/sys-bsd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/pppd/sys-bsd.c b/usr.sbin/pppd/sys-bsd.c
index b527d115b2e..8993cf783d4 100644
--- a/usr.sbin/pppd/sys-bsd.c
+++ b/usr.sbin/pppd/sys-bsd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sys-bsd.c,v 1.20 2003/04/04 20:25:07 deraadt Exp $ */
+/* $OpenBSD: sys-bsd.c,v 1.21 2003/05/14 02:02:56 itojun Exp $ */
/*
* sys-bsd.c - System-dependent procedures for setting up
@@ -78,7 +78,7 @@
#if 0
static char rcsid[] = "Id: sys-bsd.c,v 1.31 1998/04/02 12:04:19 paulus Exp $";
#else
-static char rcsid[] = "$OpenBSD: sys-bsd.c,v 1.20 2003/04/04 20:25:07 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: sys-bsd.c,v 1.21 2003/05/14 02:02:56 itojun Exp $";
#endif
#endif
@@ -396,7 +396,7 @@ sipxfaddr(unit, network, node)
sipx->sipx_len = sizeof(*sipx);
sipx->sipx_family = AF_IPX;
- sipx->sipx_type = ETHERTYPE_II;
+ sipx->sipx_type = IPX_ETHERTYPE_II;
sipx->sipx_port = 0;
sipx->sipx_network = htonl (network);
memcpy (sipx->sipx_node, node, IPX_HOSTADDRLEN);
@@ -446,7 +446,7 @@ cipxfaddr(unit)
sipx->sipx_len = sizeof(*sipx);
sipx->sipx_family = AF_IPX;
- sipx->sipx_type = ETHERTYPE_II;
+ sipx->sipx_type = IPX_ETHERTYPE_II;
/*
* Set the IPX device