diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2022-02-25 13:01:00 +0100 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-02-25 13:01:00 +0100 |
commit | 0f0e3207f73b55d16fa369b26e1a2b7ed96734f1 (patch) | |
tree | 04f0fc0904d40afa2a24441bf7242b51b6ddf98d /src/gns/test_gns_gns2dns_lookup.sh | |
parent | 8998a34f28e9a4b5fa5ac86d2661a7edb7f8b8f0 (diff) | |
download | gnunet-0f0e3207f73b55d16fa369b26e1a2b7ed96734f1.tar.gz gnunet-0f0e3207f73b55d16fa369b26e1a2b7ed96734f1.zip |
-portable fix for ips
Diffstat (limited to 'src/gns/test_gns_gns2dns_lookup.sh')
-rwxr-xr-x | src/gns/test_gns_gns2dns_lookup.sh | 2 |
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 |
94 | fi | 94 | fi |
95 | 95 | ||
96 | if [ "$RES_IP6" = "$TEST_IP6" ] | 96 | if [ "${RES_IP6%?}" = "${TEST_IP6%?}" ] |
97 | then | 97 | then |
98 | echo "PASS: Resolved $TEST_DOMAIN to $RES_IP6." | 98 | echo "PASS: Resolved $TEST_DOMAIN to $RES_IP6." |
99 | else | 99 | else |