summaryrefslogtreecommitdiff
path: root/sys/arch/arm32/podulebus/if_eh.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/arm32/podulebus/if_eh.c')
-rw-r--r--sys/arch/arm32/podulebus/if_eh.c10
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;