network/services/lldpd: Fix missing dependency when using JSON
[openwrt-github/.git] / package / network / services / lldpd / Config.in
index a416490425eab524ffadddb74e34b89b09323164..72150e7e6fa9f1a7effdb524c2249b64e466db1f 100644 (file)
@@ -1,6 +1,11 @@
 menu "Configuration"
        depends on PACKAGE_lldpd
 
+config LLDPD_WITH_PRIVSEP
+       bool
+       default y
+       prompt "Enable privilege separation (run lldpd with a chrooted 'lldp' user)"
+
 config LLDPD_WITH_CDP
        bool
        default y
@@ -36,9 +41,15 @@ config LLDPD_WITH_DOT3
        prompt "Enable Dot3 extension (PHY stuff)"
        default y
 
+config LLDPD_WITH_CUSTOM
+       bool
+       prompt "Enable Custom TLVs"
+       default y
+
 config LLDPD_WITH_JSON
        bool
        prompt "Enable JSON output for the LLDP Command-Line Interface"
+       select PACKAGE_json-c
        default n
 
 endmenu