From: Vincent Bernat Date: Mon, 8 Dec 2008 09:40:06 +0000 (+0100) Subject: Dump less information for LLDP-MED location data X-Git-Tag: 0.3~22 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4cff932d168b73df5a6c2f866868e474ee64ec0a;p=thirdparty%2Flldpd.git Dump less information for LLDP-MED location data --- diff --git a/src/lldpctl.c b/src/lldpctl.c index 171567c8..3672b594 100644 --- a/src/lldpctl.c +++ b/src/lldpctl.c @@ -349,10 +349,10 @@ display_med(struct lldpd_chassis *chassis) printf(" ECS ELIN"); break; default: - printf("unknown location data format"); + printf("unknown location data format: %s", + dump(chassis->c_med_locdata, + chassis->c_med_locdata_len, 20, ' ')); } - printf("\n data: %s\n", dump(chassis->c_med_locdata, - chassis->c_med_locdata_len, 40, ' ')); printf("\n"); } if (chassis->c_med_powtype) {