]> git.ipfire.org Git - thirdparty/openwrt.git/commit
lldpd: Implement location parameter
authorPaul Donald <newtwen@gmail.com>
Thu, 8 Feb 2024 18:15:55 +0000 (19:15 +0100)
committerRobert Marko <robimarko@gmail.com>
Tue, 17 Sep 2024 10:36:03 +0000 (12:36 +0200)
commit56675166e85b80b6896ba420ea394bfcd5a894a9
tree1ff42a00778c301a55e421d6dd0996eeda0a4e98
parent7542e7927b6ca472ae7c2f38e1e8705c17cccb9a
lldpd: Implement location parameter

Previously only partially implemented. After commit
5007f488bb5e1b556052ef246bd3822fed8d09d2 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>
(cherry picked from commit 53252eeb3b6177b77e23235436b04818a88eafe0)
Link: https://github.com/openwrt/openwrt/pull/15299
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/network/services/lldpd/files/lldpd.config
package/network/services/lldpd/files/lldpd.init