]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
Fix a typo when receiving LLDP-MED inventory asset id.
authorVincent Bernat <vbernat@wanadooportails.com>
Wed, 26 Nov 2008 16:01:47 +0000 (17:01 +0100)
committerVincent Bernat <vbernat@wanadooportails.com>
Wed, 26 Nov 2008 16:01:47 +0000 (17:01 +0100)
src/lldp.c

index d9805b8f95670bcddc953300967e8530b6824084..5a2a93d8d21234cc02c2d8745a3c71d0e2023e93 100644 (file)
@@ -644,7 +644,7 @@ lldp_decode(struct lldpd *cfg, char *frame, int s,
                                                chassis->c_med_fw = b;
                                                break;
                                        case LLDP_TLV_MED_IV_ASSET:
-                                               chassis->c_med_fw = b;
+                                               chassis->c_med_asset = b;
                                                break;
                                        default:
                                                LLOG_WARNX("should not be there!");