]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
Add configuration switch to disable LLDP-MED inventory sending
authorVincent Bernat <vbernat@wanadooportails.com>
Fri, 28 Nov 2008 17:13:37 +0000 (18:13 +0100)
committerVincent Bernat <vbernat@wanadooportails.com>
Fri, 28 Nov 2008 17:13:37 +0000 (18:13 +0100)
src/lldpd.h

index b91c01170eca3fcec9a3c82955ffe9debf41155a..6312c1dfb3101bbdb235e207a0615f7149857460 100644 (file)
@@ -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;