openwrt/package
Paul Donald 4a81d868db
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>
2024-04-21 17:57:03 +02:00
..
base-files base-files: reduce IPv6 ULA prefix generation to a single call 2024-04-18 12:55:31 +02:00
boot uboot-mvebu: update to version 2024.04 2024-04-19 10:50:55 +02:00
devel perf: fix build on linux 6.6 2024-03-29 15:41:16 +01:00
firmware ipq807x: add support for Zbtlink ZBT-Z800AX 2024-04-17 12:08:56 +02:00
kernel mac80211: ath11k: re-enable ipq807x coldboot calibration 2024-04-18 11:55:36 +02:00
libs uclient: update to Git HEAD (2024-04-19) 2024-04-19 20:06:47 +02:00
network lldpd: extended interface(s) parsing to handle patterns 2024-04-21 17:57:03 +02:00
system nu801: update PKG_MIRROR_HASH to zst 2024-04-07 11:49:53 +02:00
utils ucode: update to Git HEAD (2024-04-07) 2024-04-09 21:33:02 +02:00
Makefile build: do not depend on $(STAGING_DIR)/.prepared when in SDK 2024-03-04 23:45:15 +01:00