aboutsummaryrefslogtreecommitdiff
path: root/src/gns/test_gns_gns2dns_lookup.sh
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2022-02-25 13:01:00 +0100
committerMartin Schanzenbach <schanzen@gnunet.org>2022-02-25 13:01:00 +0100
commit0f0e3207f73b55d16fa369b26e1a2b7ed96734f1 (patch)
tree04f0fc0904d40afa2a24441bf7242b51b6ddf98d /src/gns/test_gns_gns2dns_lookup.sh
parent8998a34f28e9a4b5fa5ac86d2661a7edb7f8b8f0 (diff)
downloadgnunet-0f0e3207f73b55d16fa369b26e1a2b7ed96734f1.tar.gz
gnunet-0f0e3207f73b55d16fa369b26e1a2b7ed96734f1.zip
-portable fix for ips
Diffstat (limited to 'src/gns/test_gns_gns2dns_lookup.sh')
-rwxr-xr-xsrc/gns/test_gns_gns2dns_lookup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gns/test_gns_gns2dns_lookup.sh b/src/gns/test_gns_gns2dns_lookup.sh
index 6cb1cc43e..240e441a4 100755
--- a/src/gns/test_gns_gns2dns_lookup.sh
+++ b/src/gns/test_gns_gns2dns_lookup.sh
@@ -93,7 +93,7 @@ else
93 ret=1 93 ret=1
94fi 94fi
95 95
96if [ "$RES_IP6" = "$TEST_IP6" ] 96if [ "${RES_IP6%?}" = "${TEST_IP6%?}" ]
97then 97then
98 echo "PASS: Resolved $TEST_DOMAIN to $RES_IP6." 98 echo "PASS: Resolved $TEST_DOMAIN to $RES_IP6."
99else 99else