immortalwrt/package/network/services
Paul Donald 708101c141 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>
2024-04-27 12:11:27 +02:00
..
bridger bridger: update to Git HEAD (2024-04-22) 2024-04-22 11:02:52 +02:00
dnsmasq dnsmasq: Backport 2 upstream patches 2024-03-20 01:18:21 +01:00
dropbear dropbear: better handle interfaces 2024-02-09 09:13:05 +00:00
ead ead: fix resource leak in tinysrp 2020-01-05 19:36:46 +01:00
hostapd hostapd: fix a crash corner case 2024-04-13 16:33:45 +02:00
ipset-dns treewide: update PKG_MIRROR_HASH to zst 2024-04-06 11:24:18 +02:00
lldpd lldpd: fix reload bug: advertisements shall default to on 2024-04-27 12:11:27 +02:00
odhcpd treewide: update PKG_MIRROR_HASH to zst 2024-04-06 11:24:18 +02:00
omcproxy treewide: update PKG_MIRROR_HASH to zst 2024-04-06 11:24:18 +02:00
ppp ppp: add sourcefilter option support 2024-04-22 15:11:44 +08:00
relayd treewide: update PKG_MIRROR_HASH to zst 2024-04-06 11:24:18 +02:00
uhttpd treewide: update PKG_MIRROR_HASH to zst 2024-04-06 11:24:18 +02:00
umdns treewide: update PKG_MIRROR_HASH to zst 2024-04-06 11:24:18 +02:00
unetd treewide: update PKG_MIRROR_HASH to zst 2024-04-06 11:24:18 +02:00
ustp ustp: update to Git HEAD (2023-05-29) 2024-04-27 11:40:04 +02:00