openwrt/package/network/services
Paul Donald e3bb35811e lldpd: fix reload bug: advertisements shall default to on
Because these capability advertisements default to on in lldpd, they
became absent at reload, and not restart, due to how the reload logic
works ( keep daemon running, send unconfigured and then the new config
via socket ), and it was not evident unless you happened to be looking
for it (e.g. via pcap or tcpdump). It was also not evident from the
manpage ( have now sent patches upstream ).

At reload time, the unconfigure logic disabled them unless they were
explicitly enabled (compare with other settings where 'unconfigure' just
resets them). Now they default to on/enabled at init time, and are
explicitly 'unconfigure'd at startup if the user disables them via:

lldp_mgmt_addr_advertisements=0
lldp_capability_advertisements=0

In other words: explicit is necessary to disable the advertisements.

The same applies to 'configure system capabilities enabled'. Technically
'unconfigure'd is the default but now it is explicit at reload.

Tested on: 23.05.3

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
(cherry picked from commit 708101c141)
Link: https://github.com/openwrt/openwrt/pull/15299
Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-09-17 12:36:03 +02:00
..
bridger bridger: update to the latest version 2023-05-12 21:18:31 +02:00
dnsmasq dnsmasq: Backport 2 upstream patches 2024-03-20 01:22:10 +01:00
dropbear package/network/services/dropbear: fix PKG_CPE_ID 2024-07-06 18:31:14 +02:00
ead
hostapd hostapd: fix anqp_3gpp_cell_net list delimiter 2024-08-28 12:00:23 +02:00
ipset-dns
lldpd lldpd: fix reload bug: advertisements shall default to on 2024-09-17 12:36:03 +02:00
odhcpd odhcpd: Bump to latest commits 2023-11-03 08:27:52 +01:00
omcproxy
ppp treewide: add support for "lto" in PKG_BUILD_FLAGS 2023-03-21 18:28:22 +01:00
relayd
uhttpd uhttpd: handle reload after uhttpd-mod-ubus installation using postinst 2024-01-27 10:36:43 +01:00
umdns umdns: update to Git 7c675979 (2024-03-04) 2024-03-08 07:56:44 +00:00
unetd unetd: update to Git HEAD (2024-03-31) 2024-03-31 19:57:22 +02:00
ustp treewide: add support for "lto" in PKG_BUILD_FLAGS 2023-03-21 18:28:22 +01:00