Add a missing break statement; IFDATA_LINKSPECIFIC would fall through
to IFDATA_DRIVERNAME otherwise. Reviewed by: brooks MFC after: 1 week
This commit is contained in:
parent
4225b7d6fa
commit
9d53bbefba
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user