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)
commit5caa23551ed62186298079f30e6748570c3027d5
tree50bb02c7d1ca5050df01754198fd1e520bf89343
parent76d079204df113afa9e382a43abb5e1a2135150d
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