lldpd: fix config for build without LLDP-MED
authorSebastian Pflieger <sebastian@pflieger.email>
Thu, 9 Jan 2025 17:10:38 +0000 (18:10 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 20 Jan 2025 22:51:15 +0000 (23:51 +0100)
commitc8c1156e9dda1b72d525d442d76d819737b79d87
tree686540da211edbe229973d00e9feace4747da455
parentdc81243e87fd305959ca25fa78e3a11b8ebfc0bc
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>
(cherry picked from commit 2c22d7c3a4a7edcce1af656c8cddb1ab163e3d02)
package/network/services/lldpd/Makefile
package/network/services/lldpd/files/lldpd.init