luci-base: sys.uc: reliably skip TIME_WAIT connections in conntrack list
authorJo-Philipp Wich <jo@mein.io>
Tue, 27 Sep 2022 20:33:04 +0000 (22:33 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 24 Oct 2022 23:03:37 +0000 (01:03 +0200)
commit21dacf2db7899b1e90cb6d4fe6595f1991ba3635
tree2f64fa7268273995841346f74b41394d51480464
parente4960147606af6528f5b92f975e30c61565d53a0
luci-base: sys.uc: reliably skip TIME_WAIT connections in conntrack list

The TIME_WAIT indicator might not appear at the beginning of the tuple
string in some cases, so match it anywhere.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
[add commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/ucode/sys.uc