That's the best approximation available in RFC4836.
lldpd (0.9.5)
+ * Change:
+ + More Ethernet media supported. However, RFC4836 is quite
+ out-of-date with respected to 10G+ speeds, bringing some
+ inaccuracies.
* Fix:
+ Compilation fix with older versions of GCC.
+ Don't use ethtool at all to get real MAC address for enslaved
// fiber either but we don't have 10GIGBASET for
// copper. No good solution.
port->p_macphy.mau_type = (ethc.port == PORT_FIBRE) ? \
- LLDP_DOT3_MAU_10GIGBASEX : LLDP_DOT3_MAU_10GIGBASER;
+ LLDP_DOT3_MAU_10GIGBASELR : LLDP_DOT3_MAU_10GIGBASECX4;
break;
}
if (ethc.port == PORT_AUI) port->p_macphy.mau_type = LLDP_DOT3_MAU_AUI;