From: Vincent Bernat Date: Sat, 27 Mar 2010 00:06:33 +0000 (+0100) Subject: List MDI/PSE and MDI/PD as an available LLDP-MED capability for the chassis. X-Git-Tag: 0.5.1~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4c0d271570c4ec4221f5820383acc8fa4de5e43c;p=thirdparty%2Flldpd.git List MDI/PSE and MDI/PD as an available LLDP-MED capability for the chassis. Add Network Policy as well which was left behind. --- diff --git a/src/lldpd.c b/src/lldpd.c index 72f2994e..03bfb7a8 100644 --- a/src/lldpd.c +++ b/src/lldpd.c @@ -967,7 +967,8 @@ lldpd_main(int argc, char *argv[]) lchassis->c_cap_available |= LLDP_CAP_TELEPHONE; lchassis->c_med_type = lldpmed; lchassis->c_med_cap_available = LLDPMED_CAP_CAP | - LLDPMED_CAP_IV | LLDPMED_CAP_LOCATION; + LLDPMED_CAP_IV | LLDPMED_CAP_LOCATION | + LLDPMED_CAP_POLICY | LLDPMED_CAP_MDI_PSE | LLDPMED_CAP_MDI_PD; cfg->g_noinventory = noinventory; } else cfg->g_noinventory = 1;