summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-sqm/po/pt
diff options
context:
space:
mode:
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>2022-12-30 12:26:08 +0000
committerKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>2022-12-30 12:51:53 +0000
commita18b1a6beabb5d58ea7ddfa9ffb13c513290382c (patch)
tree77bd7eae9d169f149dcd3a6479246ad083c3602a /applications/luci-app-sqm/po/pt
parent727ac3740144ce60682f7d4824591832849f50e8 (diff)
luci-mod-status: fix neighbour display
The neighbour display parses the output of 'ip -4 neigh show' e.g. 192.168.219.95 dev eth1 lladdr 38:b4:d3:c9:b2:0c REACHABLE 192.168.219.200 dev eth1 lladdr 04:c4:61:12:f2:d2 STALE Using regexp /^([0-9a-f:.]+) (.+) (\S+)$/ Unfortunately there's a space character that sneaks in at the end of line, so let's make this less brittle by accepting lines that may end with spaces e.g. /^([0-9a-f:.]+) (.+) (\S+) *$/ Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Diffstat (limited to 'applications/luci-app-sqm/po/pt')
0 files changed, 0 insertions, 0 deletions