ds-lite: fix resolve retry for fqdn peeraddrs
authorJonas Gorski <jogo@openwrt.org>
Fri, 22 May 2015 10:24:30 +0000 (10:24 +0000)
committerJonas Gorski <jogo@openwrt.org>
Fri, 22 May 2015 10:24:30 +0000 (10:24 +0000)
commit3dd7e9a86d4639042cfb33a9cc508bd97cc60f06
treee79e8c69a2e663a5ab60bae0fb088077bfcec8bf
parent9157f620436a8383b13c30c0a26ad06b976b1a0b
ds-lite: fix resolve retry for fqdn peeraddrs

If the first resolveip call will fail, peeraddr will be now empty, and
the subsequent resolveip call will try to resolve an empty string.

Fix this by storing the result in a temporary variable.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45712 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/network/ipv6/ds-lite/Makefile
package/network/ipv6/ds-lite/files/dslite.sh