From: Vincent Bernat Date: Wed, 26 Nov 2008 16:01:47 +0000 (+0100) Subject: Fix a typo when receiving LLDP-MED inventory asset id. X-Git-Tag: 0.3~37 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=72c4c96fdcba1dcaa9861fdcf12c153752d9c795;p=thirdparty%2Flldpd.git Fix a typo when receiving LLDP-MED inventory asset id. --- diff --git a/src/lldp.c b/src/lldp.c index d9805b8f..5a2a93d8 100644 --- a/src/lldp.c +++ b/src/lldp.c @@ -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!");