mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Do not FALLTHROUGH for SIOC{ADD,DEL}MULTI
ifmedia_ioctl() returns EINVAL Differential Revision: 3897 Submitted by: aronen@juniper.net Reviewed by: marcel
This commit is contained in:
parent
4d871c1e61
commit
ce8df48b73
1 changed files with 1 additions and 1 deletions
|
|
@ -1663,7 +1663,7 @@ xn_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
|
|||
error = 0;
|
||||
}
|
||||
#endif
|
||||
/* FALLTHROUGH */
|
||||
break;
|
||||
case SIOCSIFMEDIA:
|
||||
case SIOCGIFMEDIA:
|
||||
error = ifmedia_ioctl(ifp, ifr, &sc->sc_media, cmd);
|
||||
|
|
|
|||
Loading…
Reference in a new issue