lldpd: add option to disable custom TLVs

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>

SVN-Revision: 45884
owl
John Crispin 2015-06-03 13:59:14 +00:00
parent 5fe5aeaa72
commit 281cb95a9d
2 changed files with 6 additions and 0 deletions

View File

@ -41,6 +41,11 @@ config LLDPD_WITH_DOT3
prompt "Enable Dot3 extension (PHY stuff)" prompt "Enable Dot3 extension (PHY stuff)"
default y default y
config LLDPD_WITH_CUSTOM
bool
prompt "Enable Custom TLVs"
default y
config LLDPD_WITH_JSON config LLDPD_WITH_JSON
bool bool
prompt "Enable JSON output for the LLDP Command-Line Interface" prompt "Enable JSON output for the LLDP Command-Line Interface"

View File

@ -100,6 +100,7 @@ CONFIGURE_ARGS += \
$(if $(CONFIG_LLDPD_WITH_LLDPMED),,--disable-lldpmed) \ $(if $(CONFIG_LLDPD_WITH_LLDPMED),,--disable-lldpmed) \
$(if $(CONFIG_LLDPD_WITH_DOT1),,--disable-dot1) \ $(if $(CONFIG_LLDPD_WITH_DOT1),,--disable-dot1) \
$(if $(CONFIG_LLDPD_WITH_DOT3),,--disable-dot3) \ $(if $(CONFIG_LLDPD_WITH_DOT3),,--disable-dot3) \
$(if $(CONFIG_LLDPD_WITH_CUSTOM),,--disable-custom) \
$(if $(CONFIG_LLDPD_WITH_SONMP),,--disable-sonmp) \ $(if $(CONFIG_LLDPD_WITH_SONMP),,--disable-sonmp) \
$(if $(CONFIG_LLDPD_WITH_JSON),--with-json=json-c,--with-json=no) $(if $(CONFIG_LLDPD_WITH_JSON),--with-json=json-c,--with-json=no)