mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-22 19:38:30 +08:00
* libnetworking/net/if_ethersubr.c: (ether_ioctl)
Return error for unknown/unsupported ioctl command. (Change merged from freeBSD).
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2006-08-21 Till Straumann <strauman@slac.stanford.edu>
|
||||
|
||||
* libnetworking/net/if_ethersubr.c: (ether_ioctl)
|
||||
Return error for unknown/unsupported ioctl command.
|
||||
(Change merged from freeBSD).
|
||||
|
||||
2006-08-15 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* libnetworking/kern/kern_sysctl.c: Change int to int32_t.
|
||||
|
||||
@@ -894,6 +894,9 @@ ether_ioctl(struct ifnet *ifp, int command, caddr_t data)
|
||||
ifp->if_mtu = ifr->ifr_mtu;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
error = EINVAL; /* XXX netbsd has ENOTTY??? */
|
||||
break;
|
||||
}
|
||||
return (error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user