HomeFreeBSD

in6_if2idlen: treat bridge(4) interfaces like other Ethernet interfaces

Description

in6_if2idlen: treat bridge(4) interfaces like other Ethernet interfaces

bridge(4) interfaces have an if_type of IFT_BRIDGE, rather than
IFT_ETHER, even though they only support Ethernet-style links. This
caused in6_if2idlen to emit an "unknown link type (209)" warning to
the console every time it was called. Add IFT_BRIDGE to the case
statement in the appropriate place, indicating that it uses the same
IPv6 address format as other Ethernet-like interfaces.

MFC after: 1 week

Details

Committed
wollmanDec 28 2015, 6:29 PM
Parents
rS292835: Make the eeprom dump function more readable and rename variables for
Branches
Unknown
Tags
Unknown