openwrt/package
Paul Donald 0b48b832a9 lldpd: extended interface(s) parsing to handle patterns
For interface type parameters, the man page documents patterns:
```
*,!eth*,!!eth1

uses all interfaces, except interfaces starting with "eth",
but including "eth1".
```

* Renamed `_ifname` to `_l2dev`.
* get the l2dev via network_get_physdev (and not l3dev)
* Glob pattern `*` is also valid - use noglob for this

The net result is that now interface 'names' including globs '*' and '!'
inversions are included in the generated lldpd configs.

Temporarily `set -o noglob` and then `set +o noglob` to disable & enable
globbing respectively, because when we pass `*` as an interface choice,
other file and pathnames get sucked in from where the init script runs,
and the `*` never makes it to lldpd.

Tested extensively on: 22.03.6, 23.05.3

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
[ squash with commit bumping release version ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit 4a81d868db)
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: extended interface(s) parsing to handle patterns 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