openwrt/package
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
..
base-files base-files: fix merge of passwd/shadow/group lines with trailing colons 2024-08-29 21:07:48 +02:00
boot mediatek: enable rootwait for cmcc rax3000m emmc version 2024-08-11 19:18:39 +02:00
devel perf: opt-out of lto usage 2023-08-11 12:53:34 +02:00
firmware wireless-regdb: Update to version 2024.07.04 2024-07-11 00:23:36 +02:00
kernel mac80211: Update to version 6.1.110-1 2024-09-15 01:59:41 +02:00
libs ncurses: Fix path in ncursesw.pc 2024-09-15 02:03:25 +02:00
network lldpd: fix reload bug: advertisements shall default to on 2024-09-17 12:36:03 +02:00
system ca-certificates: add missing license information 2024-07-10 23:07:36 +02:00
utils ucode: fix missing backslash 2024-09-15 03:32:18 +02:00
Makefile build: do not depend on $(STAGING_DIR)/.prepared when in SDK 2024-03-04 23:59:24 +01:00