mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 17:18:59 +00:00
53252eeb3b
Previously only partially implemented. After commit
5007f488bb
lldp_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>
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"
|