diff options
author | bms <bms@FreeBSD.org> | 2008-09-10 13:08:37 +0000 |
---|---|---|
committer | bms <bms@FreeBSD.org> | 2008-09-10 13:08:37 +0000 |
commit | 11fabd36c2894e56ba1ac22dce018446ffe1e7c5 (patch) | |
tree | 6221ca6b7d9379c314185618564f2049639fac76 /sys/net/if_mib.c | |
parent | 2473c0ee1eb01b61bd2c623e000d8e3264225c7d (diff) | |
download | FreeBSD-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.c | 1 |
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 */ |