summaryrefslogtreecommitdiffstats
path: root/sys/net/if_mib.c
diff options
context:
space:
mode:
authorbms <bms@FreeBSD.org>2008-09-10 13:08:37 +0000
committerbms <bms@FreeBSD.org>2008-09-10 13:08:37 +0000
commit11fabd36c2894e56ba1ac22dce018446ffe1e7c5 (patch)
tree6221ca6b7d9379c314185618564f2049639fac76 /sys/net/if_mib.c
parent2473c0ee1eb01b61bd2c623e000d8e3264225c7d (diff)
downloadFreeBSD-src-11fabd36c2894e56ba1ac22dce018446ffe1e7c5.zip
FreeBSD-src-11fabd36c2894e56ba1ac22dce018446ffe1e7c5.tar.gz
Add a missing break statement; IFDATA_LINKSPECIFIC would fall through
to IFDATA_DRIVERNAME otherwise. Reviewed by: brooks MFC after: 1 week
Diffstat (limited to 'sys/net/if_mib.c')
-rw-r--r--sys/net/if_mib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net/if_mib.c b/sys/net/if_mib.c
index 8c472c1..736c099 100644
--- a/sys/net/if_mib.c
+++ b/sys/net/if_mib.c
@@ -137,6 +137,7 @@ sysctl_ifdata(SYSCTL_HANDLER_ARGS) /* XXX bad syntax! */
error = SYSCTL_IN(req, ifp->if_linkmib, ifp->if_linkmiblen);
if (error)
return error;
+ break;
case IFDATA_DRIVERNAME:
/* 20 is enough for 64bit ints */
OpenPOWER on IntegriCloud