From: Vincent Bernat Date: Fri, 28 Nov 2008 17:13:37 +0000 (+0100) Subject: Add configuration switch to disable LLDP-MED inventory sending X-Git-Tag: 0.3~30 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7985ba6247d21c2ec1b17d46e1e6324436441315;p=thirdparty%2Flldpd.git Add configuration switch to disable LLDP-MED inventory sending --- diff --git a/src/lldpd.h b/src/lldpd.h index b91c0117..6312c1df 100644 --- a/src/lldpd.h +++ b/src/lldpd.h @@ -230,6 +230,9 @@ struct lldpd { int g_multi; /* Set to 1 if multiple protocols */ int g_probe_time; int g_listen_vlans; +#ifdef ENABLE_LLDPMED + int g_med_noinventory; +#endif time_t g_lastsent; int g_lastrid;