From 246bb5c3450f9855e403ae7cb399eb9588db9a15 Mon Sep 17 00:00:00 2001 From: "Rodney W. Grimes" Date: Mon, 6 Sep 1993 16:13:15 +0000 Subject: [PATCH] Fixed usage of arpcom and #define blahblah arpcom.blahblah, fixed ioctl support for options NS (XNS networking). --- sys/i386/isa/if_is.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/sys/i386/isa/if_is.c b/sys/i386/isa/if_is.c index ffc4940499b..1277b4d87e0 100644 --- a/sys/i386/isa/if_is.c +++ b/sys/i386/isa/if_is.c @@ -851,15 +851,18 @@ is_ioctl(ifp, cmd, data) */ case AF_NS: { - register struct arpcom.ac_enaddr *ina = &(IA_SNS(ifa)->sns_addr); + register struct ns_addr *ina = &(IA_SNS(ifa)->sns_addr); if (ns_nullhost(*ina)) - ina->x_host = *(union ns_host *)(is->arpcom.ac_enaddr); + ina->x_host = + *(union ns_host *)(is->arpcom.ac_enaddr); else { /* + * */ bcopy((caddr_t)ina->x_host.c_host, - (caddr_t)is->arpcom.ac_enaddr, sizeof(is->arpcom.ac_enaddr)); + (caddr_t)is->arpcom.ac_enaddr, + sizeof(is->arpcom.ac_enaddr)); } /* * Set new address