diff options
author | ryker <ryker@cvs.openbsd.org> | 1998-07-07 19:26:19 +0000 |
---|---|---|
committer | ryker <ryker@cvs.openbsd.org> | 1998-07-07 19:26:19 +0000 |
commit | acecb75e78a7d9dc418822da6482057cfcc37c53 (patch) | |
tree | 7fcf535ff751c60522ebfda49a0e36587ce93679 /sys | |
parent | 8c0e88a5397b43fd9727beaf5b7ca0a9577cfd94 (diff) |
htons(ETHERTYPE_IPX)
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/if_ethersubr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c index c8c25532ecb..f9cdd7988e0 100644 --- a/sys/net/if_ethersubr.c +++ b/sys/net/if_ethersubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ethersubr.c,v 1.25 1998/02/03 19:06:28 deraadt Exp $ */ +/* $OpenBSD: if_ethersubr.c,v 1.26 1998/07/07 19:26:18 ryker Exp $ */ /* $NetBSD: if_ethersubr.c,v 1.19 1996/05/07 02:40:30 thorpej Exp $ */ /* @@ -241,7 +241,7 @@ ether_output(ifp, m0, dst, rt0) #endif #ifdef IPX case AF_IPX: - etype = ETHERTYPE_IPX; + etype = htons(ETHERTYPE_IPX); bcopy((caddr_t)&satosipx(dst)->sipx_addr.ipx_host, (caddr_t)edst, sizeof (edst)); if (!bcmp((caddr_t)edst, (caddr_t)&ipx_thishost, sizeof(edst))) |