diff options
author | Jonas Gorski <jogo@openwrt.org> | 2015-05-22 10:24:30 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2015-05-22 10:24:30 +0000 |
commit | 5caa23551ed62186298079f30e6748570c3027d5 (patch) | |
tree | 50bb02c7d1ca5050df01754198fd1e520bf89343 /tools/gengetopt | |
parent | 76d079204df113afa9e382a43abb5e1a2135150d (diff) | |
download | upstream-5caa23551ed62186298079f30e6748570c3027d5.tar.gz upstream-5caa23551ed62186298079f30e6748570c3027d5.tar.bz2 upstream-5caa23551ed62186298079f30e6748570c3027d5.zip |
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
Diffstat (limited to 'tools/gengetopt')
0 files changed, 0 insertions, 0 deletions