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)
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


No differences found