Add support for SIOCGIFXMEDIA to iflib
SIOCGIFXMEDIA is required for extended ethernet media types, but iflib did not support it. Reported by: Bhargava Chenna Marreddy <bhargava.marreddy@broadcom.com> Sponsored by: Limelight Networks Differential Revision: https://reviews.freebsd.org/D13312
This commit is contained in:
parent
536062099a
commit
a027c8e958
@ -3912,6 +3912,7 @@ iflib_if_ioctl(if_t ifp, u_long command, caddr_t data)
|
||||
CTX_UNLOCK(ctx);
|
||||
/* falls thru */
|
||||
case SIOCGIFMEDIA:
|
||||
case SIOCGIFXMEDIA:
|
||||
err = ifmedia_ioctl(ifp, ifr, &ctx->ifc_media, command);
|
||||
break;
|
||||
case SIOCGI2C:
|
||||
|
Loading…
x
Reference in New Issue
Block a user