lldpd: fix config for build without LLDP-MED
authorSebastian Pflieger <sebastian@pflieger.email>
Thu, 9 Jan 2025 17:10:38 +0000 (18:10 +0100)
committerRobert Marko <robimarko@gmail.com>
Tue, 14 Jan 2025 15:02:10 +0000 (16:02 +0100)
commit2c22d7c3a4a7edcce1af656c8cddb1ab163e3d02
tree65ace5936c69c38ef76bac7d90d1388cd5c14c7c
parentdac8021297a5541eac418fb295a9013109d39a61
lldpd: fix config for build without LLDP-MED

The lldp_class and lldp_location config option are only valid when
compiled with LLDP-MED support. If not they will cause lldpd not to
start.

Signed-off-by: Sebastian Pflieger <sebastian@pflieger.email>
Link: https://github.com/openwrt/openwrt/pull/17571
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/network/services/lldpd/Makefile
package/network/services/lldpd/files/lldpd.init