diff options
author | 1998-06-30 21:51:06 +0000 | |
---|---|---|
committer | 1998-06-30 21:51:06 +0000 | |
commit | 9c953fca29ab2957cc2777dd3410f653783b8d66 (patch) | |
tree | 9750e2a16be7d1dec3538936001b63f9cf4d9061 | |
parent | Add an NPMODE_KEEPLAST (diff) | |
download | wireguard-openbsd-9c953fca29ab2957cc2777dd3410f653783b8d66.tar.xz wireguard-openbsd-9c953fca29ab2957cc2777dd3410f653783b8d66.zip |
Fix broken IPX so the kernel will compile.
-rw-r--r-- | sys/net/if_fddisubr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_fddisubr.c b/sys/net/if_fddisubr.c index 44458f8cf32..b1eaafe2406 100644 --- a/sys/net/if_fddisubr.c +++ b/sys/net/if_fddisubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_fddisubr.c,v 1.14 1997/09/27 02:35:58 deraadt Exp $ */ +/* $OpenBSD: if_fddisubr.c,v 1.15 1998/06/30 21:51:06 beck Exp $ */ /* $NetBSD: if_fddisubr.c,v 1.5 1996/05/07 23:20:21 christos Exp $ */ /* @@ -178,7 +178,7 @@ fddi_output(ifp, m0, dst, rt0) #ifdef IPX case AF_IPX: type = htons(ETHERTYPE_IPX); - bcopy((caddr_t)&(((struct sockaddr_ipx*)dst)->sipx_addr.x_host), + bcopy((caddr_t)&(((struct sockaddr_ipx*)dst)->sipx_addr.ipx_host), (caddr_t)edst, sizeof (edst)); if (!bcmp((caddr_t)edst, (caddr_t)&ipx_thishost, sizeof(edst))) return (looutput(ifp, m, dst, rt)); |