]> git.ipfire.org Git - thirdparty/lldpd.git/commit
add support for vlan-advertisements configuration (#740)
authorugoldfeld <ugoldfeld@nvidia.com>
Tue, 19 Aug 2025 17:56:44 +0000 (20:56 +0300)
committerGitHub <noreply@github.com>
Tue, 19 Aug 2025 17:56:44 +0000 (19:56 +0200)
commit7d6652cccf517e24a375c3715b6c2679c127e563
treef81f98f33a76059ecf128e7389139c6dea5d5dd3
parent8833307a027a43d469b1f93eaab1bf0e7f0b1615
add support for vlan-advertisements configuration (#740)

* add support for vlan-advertisements configuration

adding new configurations configure [ports ethx [,..]] lldp vlan-advertisements pattern and
unconfigure [ports ethx,[,...]] lldp vlan-advertisements pattern.
The commands enable control of which vlans are advertised

* Code review changes

Updated manual page.
Added add an example of invocation in tests/lldpcli.conf.
Added tests to tests/integration/test_dot1.py.
Vlan formatting fixes.

* more CR fixes

* Fix memory leak

fixing port->p_vlan_advertise_pattern memory leak
src/client/conf-lldp.c
src/client/lldpcli.8.in
src/daemon/client.c
src/daemon/interfaces.c
src/lib/atoms/port.c
src/lib/lldpctl.h
src/lldpd-structs.c
src/lldpd-structs.h
tests/integration/test_dot1.py
tests/lldpcli.conf