pfsync tests: check for the correct IP address

When checking if the state synced over we should look for
198.51.100.254, not 198.51.100.2. The test worked because the incorrect
address is a substring of the correct one, but we should fix it anyway.

Reported by:	Naman Sood <[email protected]>
MFC after:	1 week

(cherry picked from commit 0d574d8ba8)
This commit is contained in:
Kristof Provost committed 2023-05-25 03:56:19 +02:00
1 parent 886d82afb0
commit 78c6659238
1 file changed
+1 -1
+1 -1
View File
@@ -87,7 +87,7 @@ common_body()
sleep 2
if ! jexec two pfctl -s states | grep icmp | grep 198.51.100.1 | \
grep 198.51.100.2 ; then
grep 198.51.100.254 ; then
atf_fail "state not found on synced host"
fi
}