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)
commit01df110c521a6860e447648d21a9564515dcda2b
treee79e8c69a2e663a5ab60bae0fb088077bfcec8bf
parent310b70f03e75039cbd14d9a0c74823e51f8852e4
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>
SVN-Revision: 45712
package/network/ipv6/ds-lite/Makefile
package/network/ipv6/ds-lite/files/dslite.sh