Changeset 44743


Ignore:
Timestamp:
2015-03-13T09:38:25+01:00 (3 years ago)
Author:
blogic
Message:

lldpd: make LLDP-MED, DOT1 and DOT3 extensions disable-able

The names for the config options were taken from lldpd's
configure.ac file.

Signed-off-by: Alexandru Ardelean <ardeleanalex@…>

Location:
trunk/package/network/services/lldpd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/network/services/lldpd/Config.in

    r43233 r44743  
    2222        prompt "Enable support for the SynOptics Network Management Protocol" 
    2323 
     24config LLDPD_WITH_LLDPMED 
     25        bool 
     26        prompt "Enable LLDP-MED extension" 
     27        default y 
     28 
     29config LLDPD_WITH_DOT1 
     30        bool 
     31        prompt "Enable Dot1 extension (VLAN stuff)" 
     32        default y 
     33 
     34config LLDPD_WITH_DOT3 
     35        bool 
     36        prompt "Enable Dot3 extension (PHY stuff)" 
     37        default y 
     38 
    2439config LLDPD_WITH_JSON 
    2540        bool 
    2641        prompt "Enable JSON output for the LLDP Command-Line Interface" 
    2742        default n 
     43 
    2844endmenu 
  • trunk/package/network/services/lldpd/Makefile

    r44585 r44743  
    8686        $(if $(CONFIG_LLDPD_WITH_FDP),,--disable-fdp) \ 
    8787        $(if $(CONFIG_LLDPD_WITH_EDP),,--disable-edp) \ 
     88        $(if $(CONFIG_LLDPD_WITH_LLDPMED),,--disable-lldpmed) \ 
     89        $(if $(CONFIG_LLDPD_WITH_DOT1),,--disable-dot1) \ 
     90        $(if $(CONFIG_LLDPD_WITH_DOT3),,--disable-dot3) \ 
    8891        $(if $(CONFIG_LLDPD_WITH_SONMP),,--disable-sonmp) \ 
    8992        $(if $(CONFIG_LLDPD_WITH_JSON),--with-json=json-c) 
Note: See TracChangeset for help on using the changeset viewer.