diff -r 9b1d2bce7833 sys/net/ieee8023ad_lacp.c --- a/sys/net/ieee8023ad_lacp.c Wed Aug 16 05:52:56 2017 -0700 +++ b/sys/net/ieee8023ad_lacp.c Wed Aug 30 22:58:47 2017 -0700 @@ -463,7 +463,9 @@ lacp_linkstate(struct lagg_port *lgp) uint16_t old_key; bzero((char *)&ifmr, sizeof(ifmr)); - error = (*ifp->if_ioctl)(ifp, SIOCGIFMEDIA, (caddr_t)&ifmr); + error = (*ifp->if_ioctl)(ifp, SIOCGIFXMEDIA, (caddr_t)&ifmr); + if (error != 0) + error = (*ifp->if_ioctl)(ifp, SIOCGIFMEDIA, (caddr_t)&ifmr); if (error != 0) return;