lldpd: Implement location parameter
authorPaul Donald <newtwen@gmail.com>
Thu, 8 Feb 2024 18:15:55 +0000 (19:15 +0100)
committerPaul Donald <newtwen@gmail.com>
Mon, 11 Mar 2024 14:35:58 +0000 (15:35 +0100)
commit53252eeb3b6177b77e23235436b04818a88eafe0
treef45ac8813b5bead9c6c689a71226af9d47c6abfb
parent79ee4cb0397eb9eae34369e33d66b5a1d837a652
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>
package/network/services/lldpd/files/lldpd.config
package/network/services/lldpd/files/lldpd.init