summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2007-09-19 06:28:39 +0000
committerBrad Smith <brad@cvs.openbsd.org>2007-09-19 06:28:39 +0000
commitdeeee6d2adefc8a72deaa604ac2a6a213d0162d4 (patch)
treef1594460934e27b17297657bd0418e899dc5321d /sys
parent5de1f43c47dbfb088a1d70fd4660545a29eb9709 (diff)
call ether_ioctl() from within ex_ioctl().
ok dlg@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/isa/if_ex.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/isa/if_ex.c b/sys/dev/isa/if_ex.c
index 7f1b5801b22..77621611327 100644
--- a/sys/dev/isa/if_ex.c
+++ b/sys/dev/isa/if_ex.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ex.c,v 1.22 2007/09/19 06:14:24 brad Exp $ */
+/* $OpenBSD: if_ex.c,v 1.23 2007/09/19 06:28:38 brad Exp $ */
/*
* Copyright (c) 1997, Donald A. Schmidt
* Copyright (c) 1996, Javier Martín Rueda (jmrueda@diatel.upm.es)
@@ -749,6 +749,11 @@ ex_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
s = splnet();
+ if ((error = ether_ioctl(ifp, &sc->arpcom, cmd, data)) > 0) {
+ splx(s);
+ return (error);
+ }
+
switch(cmd) {
case SIOCSIFADDR:
DODEBUG(Start_End, printf("SIOCSIFADDR"););