Add missing #if USE_IF_MEDIA/#endif.
This commit is contained in:
parent
c15e1a383b
commit
83d5e173ac
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=109740
@ -1159,7 +1159,10 @@ status(const struct afswtch *afp, int addrcount, struct sockaddr_dl *sdl,
|
||||
if (ioctl(s, SIOCGIFSTATUS, &ifs) == 0)
|
||||
printf("%s", ifs.ascii);
|
||||
|
||||
if (!allfamilies && !p && afp->af_status != media_status &&
|
||||
if (!allfamilies && !p &&
|
||||
#ifdef USE_IF_MEDIA
|
||||
afp->af_status != media_status &&
|
||||
#endif
|
||||
afp->af_status != link_status
|
||||
#ifdef USE_VLANS
|
||||
&& afp->af_status != vlan_status
|
||||
|
Loading…
Reference in New Issue
Block a user