]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
const: fix a type in LLDP_DOT3_MAU_100BASET2FD
authorVincent Bernat <bernat@luffy.cx>
Mon, 10 Sep 2012 07:12:22 +0000 (09:12 +0200)
committerVincent Bernat <bernat@luffy.cx>
Mon, 10 Sep 2012 07:12:22 +0000 (09:12 +0200)
src/daemon/interfaces.c
src/lib/atom-private.c
src/lldp-const.h

index 3b703bcc89cf0fd091b25d1a6bc2b53220951de8..d17c8cd8e573b1aa1899202375fb341f48a1db33 100644 (file)
@@ -577,7 +577,7 @@ iface_macphy(struct lldpd_hardware *hardware)
                            LLDP_DOT3_MAU_100BASETXFD : LLDP_DOT3_MAU_100BASETXHD;
                        if (ethc.port == PORT_BNC)
                                port->p_macphy.mau_type = (ethc.duplex == DUPLEX_FULL) ? \
-                                   LLDP_DOT3_MAU_100BASET2DF : LLDP_DOT3_MAU_100BASET2HD;
+                                   LLDP_DOT3_MAU_100BASET2FD : LLDP_DOT3_MAU_100BASET2HD;
                        if (ethc.port == PORT_FIBRE)
                                port->p_macphy.mau_type = (ethc.duplex == DUPLEX_FULL) ? \
                                    LLDP_DOT3_MAU_100BASEFXFD : LLDP_DOT3_MAU_100BASEFXHD;
index c02c3521bdcd950ccf2d3f5fc6da4f1482a655f4..221f03aff38e4ec2096e4270218fd017d0ddd845 100644 (file)
@@ -89,7 +89,7 @@ static const struct value_string operational_mau_type_values[] = {
        { 17,   "100BaseFXHD - X fiber over PMT, half duplex mode" },
        { 18,   "100BaseFXFD - X fiber over PMT, full duplex mode" },
        { 19,   "100BaseT2HD - 2 pair category 3 UTP, half duplex mode" },
-       { 20,   "100BaseT2DF - 2 pair category 3 UTP, full duplex mode" },
+       { 20,   "100BaseT2FD - 2 pair category 3 UTP, full duplex mode" },
        { 21,   "1000BaseXHD - PCS/PMA, unknown PMD, half duplex mode" },
        { 22,   "1000BaseXFD - PCS/PMA, unknown PMD, full duplex mode" },
        { 23,   "1000BaseLXHD - Fiber over long-wavelength laser, half duplex mode" },
index 533948ead0d840d6f193231e5f3f45176c575870..52e1499f0a4435c85fec3fe9b2f692128150604c 100644 (file)
@@ -61,7 +61,7 @@
 #define LLDP_DOT3_MAU_100BASEFXHD      17
 #define LLDP_DOT3_MAU_100BASEFXFD      18
 #define LLDP_DOT3_MAU_100BASET2HD      19
-#define LLDP_DOT3_MAU_100BASET2DF      20
+#define LLDP_DOT3_MAU_100BASET2FD      20
 #define LLDP_DOT3_MAU_1000BASEXHD      21
 #define LLDP_DOT3_MAU_1000BASEXFD      22
 #define LLDP_DOT3_MAU_1000BASELXHD     23