diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-05-05 13:39:51 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-05-05 13:39:51 +0000 |
commit | 69eb3008fd7c3ef1de34f9de181036c0e4610954 (patch) | |
tree | f1d1e3152a6b2bf3967a9f5726672e4fb083f6c3 /sys/arch/arm32/podulebus/if_eh.c | |
parent | b98401c6946ce4b2b6909f688f4739738d87ffe0 (diff) |
add general ether_ioctl call in net/if_ethersubr.c,
NS,IPX,X.25 special processing is now handled in there.
reflect this amazing addition in all the ether ifaces.
ppl, pls check the stuff.
Diffstat (limited to 'sys/arch/arm32/podulebus/if_eh.c')
-rw-r--r-- | sys/arch/arm32/podulebus/if_eh.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/arm32/podulebus/if_eh.c b/sys/arch/arm32/podulebus/if_eh.c index ab476637091..a9b830634b4 100644 --- a/sys/arch/arm32/podulebus/if_eh.c +++ b/sys/arch/arm32/podulebus/if_eh.c @@ -89,11 +89,6 @@ #include <netinet/if_ether.h> #endif -#ifdef NS -#include <netns/ns.h> -#include <netns/ns_if.h> -#endif - /****************************************************************************/ /* Some useful definitions **************************************************/ /****************************************************************************/ @@ -555,6 +550,11 @@ ehioctl(ifp, cmd, data) int s = splimp (); int error = 0; + if ((error = ether_ioctl(ifp, &sc->sc_arpcom, cmd, data)) > 0) { + splx(s); + return error; + } + switch (cmd) { case SIOCSIFADDR: ifp->if_flags |= IFF_UP; |