Skip to content
Snippets Groups Projects
Commit 5caa2355 authored by Jonas Gorski's avatar Jonas Gorski
Browse files

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: default avatarJonas Gorski <jogo@openwrt.org>

SVN-Revision: 45712
parent 76d07920
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment