From acecb75e78a7d9dc418822da6482057cfcc37c53 Mon Sep 17 00:00:00 2001 From: ryker Date: Tue, 7 Jul 1998 19:26:19 +0000 Subject: htons(ETHERTYPE_IPX) --- sys/net/if_ethersubr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') 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))) -- cgit v1.2.3