IFT_BRIDGE undef on darwin

This commit is contained in:
Doug MacEachern 2010-01-18 22:20:13 -08:00
parent b71d5d67a9
commit 0b23dc0082
1 changed files with 2 additions and 0 deletions

View File

@ -3340,8 +3340,10 @@ static char *get_hw_type(int type)
return "vlan"; return "vlan";
case IFT_IEEE1394: case IFT_IEEE1394:
return "firewire"; return "firewire";
#ifdef IFT_BRIDGE:
case IFT_BRIDGE: case IFT_BRIDGE:
return "bridge"; return "bridge";
#endif
default: default:
return "unknown"; return "unknown";
} }