ci: 065-upnp_0.t: match port 5351 exactly

Avoid matching ports like :53515 when checking for :5351.

References: PPW-1995
Signed-off-by: Dayanidhi Singla <dayanidhi.singla_ext@softathome.com>
This commit is contained in:
Dayanidhi Singla 2026-06-25 12:43:02 +05:30
parent 79103f0c63
commit ecfafdc42e

View File

@ -29,7 +29,7 @@ Check that miniupnpd is enabled and running by default:
udp 0 0 0.0.0.0:1900 0.0.0.0:\* .*\/miniupnpd (re)
udp 0 0 :::1900 :::\* .*\/miniupnpd (re)
$ R "netstat -tulpn 2>&1 | grep miniupnpd | grep \:5351"
$ R "netstat -tulpn 2>&1 | grep miniupnpd | grep -E ':5351[[:space:]]'"
udp 0 0 192.168.1.1:5351 0.0.0.0:\* .*\/miniupnpd (re)
udp 0 0 :::5351 :::\* .*\/miniupnpd (re)
@ -78,7 +78,7 @@ Check that miniupnpd is enabled and running again:
udp 0 0 0.0.0.0:1900 0.0.0.0:\* .*\/miniupnpd (re)
udp 0 0 :::1900 :::\* .*\/miniupnpd (re)
$ R "netstat -tulpn 2>&1 | grep miniupnpd | grep \:5351"
$ R "netstat -tulpn 2>&1 | grep miniupnpd | grep -E ':5351[[:space:]]'"
udp 0 0 192.168.1.1:5351 0.0.0.0:\* .*\/miniupnpd (re)
udp 0 0 :::5351 :::\* .*\/miniupnpd (re)