summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorjfv <jfv@FreeBSD.org>2007-05-24 18:11:11 +0000
committerjfv <jfv@FreeBSD.org>2007-05-24 18:11:11 +0000
commitf5a1b803b48b54e95a3f0d2d2167b7a31061198f (patch)
tree463b748e43c7b9fa8e1e2f4abd4d3992b28ca8d9 /sys/dev
parentfb9dbcd0562c3c6477c2fdf09dc14998fede6180 (diff)
downloadFreeBSD-src-f5a1b803b48b54e95a3f0d2d2167b7a31061198f.zip
FreeBSD-src-f5a1b803b48b54e95a3f0d2d2167b7a31061198f.tar.gz
Fix for PR 112937, thanks to Ruslan Ermilov. I am still
a bit confused how the 'link flap' was connected to the 'get' rather than 'set' address, but this seems the right thing to do here.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/em/if_em.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/em/if_em.c b/sys/dev/em/if_em.c
index 0267d6d..07eeec5 100644
--- a/sys/dev/em/if_em.c
+++ b/sys/dev/em/if_em.c
@@ -973,7 +973,6 @@ em_ioctl(struct ifnet *ifp, u_long command, caddr_t data)
switch (command) {
case SIOCSIFADDR:
- case SIOCGIFADDR:
if (ifa->ifa_addr->sa_family == AF_INET) {
/*
* XXX
OpenPOWER on IntegriCloud