Fixed usage of arpcom and #define blahblah arpcom.blahblah, fixed ioctl
support for options NS (XNS networking).
This commit is contained in:
parent
2a5017c0e0
commit
246bb5c345
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=397
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user