lldpd: fix error "sh: XXXms: bad number"
authorPaul Donald <newtwen@gmail.com>
Thu, 8 Feb 2024 22:37:13 +0000 (23:37 +0100)
committerRobert Marko <robimarko@gmail.com>
Mon, 11 Mar 2024 08:58:20 +0000 (09:58 +0100)
commit79ee4cb0397eb9eae34369e33d66b5a1d837a652
tree87cfd817ba2b89bdb663a5b90e9ef9a46b8fdfab
parent228d4e7f1b759c11897043dc73ef3c576bc13f7f
lldpd: fix error "sh: XXXms: bad number"

from commit 3ce909914a12647bec52bcee0a162dd6d158a4f6

The lldpd man page says that "configure lldp tx-interval" can
specify an interval value in milliseconds by appending a "ms" suffix to
the figure. Thus mandating string handling, and not integer comparison.

Tested on 22.03.5

Signed-off-by: Paul Donald <newtwen@gmail.com>
package/network/services/lldpd/files/lldpd.init