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
Loading
Please register or sign in to comment