summaryrefslogtreecommitdiff
path: root/regress/addrmatch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'regress/addrmatch.sh')
-rw-r--r--regress/addrmatch.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/regress/addrmatch.sh b/regress/addrmatch.sh
index a05df153..a258f7bb 100644
--- a/regress/addrmatch.sh
+++ b/regress/addrmatch.sh
@@ -33,6 +33,7 @@ run_trial user 19.0.0.1 somehost no "deny, no match"
run_trial user 10.255.255.254 somehost yes "permit, list middle"
run_trial user 192.168.30.1 192.168.0.1 no "deny, faked IP in hostname"
run_trial user 1.1.1.1 somehost.example.com yes "permit, bare IP4 address"
+test "$TEST_SSH_IPV6" = "no" && exit
run_trial user ::1 somehost.example.com yes "permit, bare IP6 address"
run_trial user ::2 somehost.exaple.com no "deny IPv6"
run_trial user ::3 somehost no "deny IP6 negated"