]> git.ipfire.org Git - thirdparty/lldpd.git/blobdiff - src/lldpd-structs.h
Merge pull request #274 from vincentbernat/feature/keep-some-ports
[thirdparty/lldpd.git] / src / lldpd-structs.h
index 4bfdd53d97d650b64a4e5aae536989f34a0ee4b2..162ab0afd5234a0b6f13a5d222c934eaa8140fb7 100644 (file)
@@ -382,6 +382,7 @@ struct lldpd_config {
        char *c_cid_pattern;    /* Pattern to match interfaces to use for chassis ID */
        char *c_cid_string;     /* User defined string for chassis ID */
        char *c_iface_pattern;  /* Pattern to match interfaces to use */
+       char *c_perm_ifaces;    /* Pattern to match interfaces to keep */
 
        char *c_platform;       /* Override platform description (for CDP) */
        char *c_description;    /* Override chassis description */
@@ -409,6 +410,7 @@ MARSHAL_STR(lldpd_config, c_mgmt_pattern)
 MARSHAL_STR(lldpd_config, c_cid_pattern)
 MARSHAL_STR(lldpd_config, c_cid_string)
 MARSHAL_STR(lldpd_config, c_iface_pattern)
+MARSHAL_STR(lldpd_config, c_perm_ifaces)
 MARSHAL_STR(lldpd_config, c_hostname)
 MARSHAL_STR(lldpd_config, c_platform)
 MARSHAL_STR(lldpd_config, c_description)