Previously only partially implemented. After commit5007f488bblldp_location was never removed Now, add the value of lldp_location to the generated config. The location param has a few syntaxes, so the config acquires the first usage from the man page: 'address country EU' Supplementary fix for PR #14193 (this param was included in the original PR #13018 but the lldp_location fixes were absent from PR #14193). Tested on 22.03.5, 22.03.6 Signed-off-by: Paul Donald <newtwen@gmail.com> (cherry picked from commit53252eeb3b) Link: https://github.com/openwrt/openwrt/pull/15299 Signed-off-by: Robert Marko <robimarko@gmail.com>
21 lines
466 B
Plaintext
21 lines
466 B
Plaintext
config lldpd config
|
|
option enable_cdp 1
|
|
option enable_fdp 1
|
|
option enable_sonmp 1
|
|
option enable_edp 1
|
|
|
|
option agentxsocket /var/run/agentx.sock
|
|
|
|
option lldp_class 4
|
|
option lldp_location "address country EU"
|
|
|
|
# if empty, the distribution description is sent
|
|
#option lldp_description "OpenWrt System"
|
|
#option lldp_hostname "Modified Hostname"
|
|
|
|
#option lldp_mgmt_ip "!192.168.1.1"
|
|
|
|
# interfaces to listen on
|
|
list interface "loopback"
|
|
list interface "lan"
|