aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtests/clientsh.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/clientsh.bash b/tests/clientsh.bash
index e841b79..bc584f4 100755
--- a/tests/clientsh.bash
+++ b/tests/clientsh.bash
@@ -144,8 +144,8 @@ req_check() {
req $*
pubkey=$(nn -q $n wg show wg0 public-key)
- check_alowedips $n "$pubkey" "${IPV4[$n]}"
- check_alowedips $n "$pubkey" "${IPV6[$n]}"
+ [[ "${IPV4[$n]}" = "0.0.0.0/32" ]] || check_alowedips $n "$pubkey" "${IPV4[$n]}"
+ [[ "${IPV6[$n]}" = "::/128" ]] || check_alowedips $n "$pubkey" "${IPV6[$n]}"
}
run_k_at_random() {