summaryrefslogtreecommitdiff
path: root/tests/ipf
diff options
context:
space:
mode:
authorpgoyette <pgoyette@NetBSD.org>2012-12-03 20:43:59 +0000
committerpgoyette <pgoyette@NetBSD.org>2012-12-03 20:43:59 +0000
commit0d2e455d0b2520ba5697a8cc062b8e3f83b5d829 (patch)
tree8aef64ebde0fc7ab56af97b75e51c1ef06810f33 /tests/ipf
parentb3ec2604bec9ee2c69bde8cd0d8f92c20789f1a2 (diff)
Include an explicit test for correctly inferring family inet6 when there
is an IPv6 address in the rule
Diffstat (limited to 'tests/ipf')
-rw-r--r--tests/ipf/expected/i141
-rw-r--r--tests/ipf/regress/i141
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/ipf/expected/i14 b/tests/ipf/expected/i14
index bccdcac6dee..93d51d032e9 100644
--- a/tests/ipf/expected/i14
+++ b/tests/ipf/expected/i14
@@ -10,3 +10,4 @@ block in on vm0(!) proto tcp/udp from any to any head vm0-group
pass in inet proto tcp/udp from 1.1.1.1/32 to 2.2.2.2/32 group vm0-group
block in on vm0(!) proto tcp/udp from any to any head vm0-group
pass in inet proto tcp/udp from 1.1.1.1/32 to 2.2.2.2/32 group vm0-group
+pass in inet6 from 8f::/128 to f8::/128
diff --git a/tests/ipf/regress/i14 b/tests/ipf/regress/i14
index 54613a51670..3290a2fd99d 100644
--- a/tests/ipf/regress/i14
+++ b/tests/ipf/regress/i14
@@ -10,3 +10,4 @@ block in on vm0 proto tcp/udp all head vm0-group
pass in from 1.1.1.1 to 2.2.2.2 group vm0-group
block in on vm0 proto tcp/udp all head vm0-group
pass in from 1.1.1.1 to 2.2.2.2 group vm0-group
+pass in from 8f:: to f8::