aboutsummaryrefslogtreecommitdiffstats
path: root/testing/scripts/build-sshkeys
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2006-06-06 05:41:21 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2006-06-06 05:41:21 +0000
commitfc0afb681070a0cb2ad1b5d4d4d7d6bc83b50ebe (patch)
tree8d004acd6e43592a6e5707096c9f3e4c4b1c181b /testing/scripts/build-sshkeys
parent32b6500fbfe063f3efb5589facd027f4c6cf08ed (diff)
downloadstrongswan-fc0afb681070a0cb2ad1b5d4d4d7d6bc83b50ebe.tar.bz2
strongswan-fc0afb681070a0cb2ad1b5d4d4d7d6bc83b50ebe.tar.xz
created IPv6 environment
Diffstat (limited to 'testing/scripts/build-sshkeys')
-rwxr-xr-xtesting/scripts/build-sshkeys6
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/scripts/build-sshkeys b/testing/scripts/build-sshkeys
index f4d584d6b..23f62e005 100755
--- a/testing/scripts/build-sshkeys
+++ b/testing/scripts/build-sshkeys
@@ -58,10 +58,10 @@ else
cecho "done"
fi
-for host in $HOSTNAMEIPS
+for host in $HOSTNAMEIPV4
do
- HOSTNAME=`echo $host | awk -F : '{ print $1 }'`
- IP=`echo $host | awk -F : '{ print $2 }'`
+ HOSTNAME=`echo $host | awk -F, '{ print $1 }'`
+ IP=`echo $host | awk -F, '{ print $2 }'`
if [ `grep "$IP " ~/.ssh/known_hosts | wc -l` != "0" ]
then
cecho "!! Warning: An entry exists for the following IP address: $IP"