summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2006-03-31 13:57:01 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2006-03-31 13:57:01 +0000
commit4193800499a773cb21ecccea32ccd539e6d0bf43 (patch)
treedcf25b3b9ff18f81f9c1c98e3a9d41b76c5ad4a6
parentc793bece327123f1845215b8400ff78776b30f49 (diff)
fix the "ike dynamic" test. dynamic automatically uses the local
hostname, we skip this behaviour by overriding the srcid. the regression test now validates the DPD-settings only. figured out and ok by hshoexer@
-rw-r--r--regress/sbin/ipsecctl/ike9.in2
-rw-r--r--regress/sbin/ipsecctl/ike9.ok2
2 files changed, 2 insertions, 2 deletions
diff --git a/regress/sbin/ipsecctl/ike9.in b/regress/sbin/ipsecctl/ike9.in
index e2adccc5915..f00ab35a878 100644
--- a/regress/sbin/ipsecctl/ike9.in
+++ b/regress/sbin/ipsecctl/ike9.in
@@ -1 +1 @@
-ike dynamic esp from 3.3.3.0/24 to 4.4.4.0/24 peer 2.2.2.2
+ike dynamic esp from 3.3.3.0/24 to 4.4.4.0/24 peer 2.2.2.2 srcid noname.my.domain
diff --git a/regress/sbin/ipsecctl/ike9.ok b/regress/sbin/ipsecctl/ike9.ok
index 7c246f69c37..e272233529a 100644
--- a/regress/sbin/ipsecctl/ike9.ok
+++ b/regress/sbin/ipsecctl/ike9.ok
@@ -8,7 +8,7 @@ C set [mm-2.2.2.2]:EXCHANGE_TYPE=ID_PROT force
C add [mm-2.2.2.2]:Transforms=AES-SHA-RSA_SIG force
C set [peer-2.2.2.2]:ID=local-ID force
C set [local-ID]:ID-type=FQDN force
-C set [local-ID]:Name=ganesh.hq.vantronix.net force
+C set [local-ID]:Name=noname.my.domain force
C set [IPsec-3.3.3.0/24-4.4.4.0/24]:Phase=2 force
C set [IPsec-3.3.3.0/24-4.4.4.0/24]:ISAKMP-peer=peer-2.2.2.2 force
C set [IPsec-3.3.3.0/24-4.4.4.0/24]:Configuration=qm-3.3.3.0/24-4.4.4.0/24 force