From 7985ba6247d21c2ec1b17d46e1e6324436441315 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Fri, 28 Nov 2008 18:13:37 +0100 Subject: [PATCH] Add configuration switch to disable LLDP-MED inventory sending --- src/lldpd.h | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.39.5