dirmngr: Avoid network queries for literal IP addresses.
authorWerner Koch <wk@gnupg.org>
Mon, 16 Jan 2017 08:10:46 +0000 (09:10 +0100)
committerWerner Koch <wk@gnupg.org>
Mon, 16 Jan 2017 18:12:03 +0000 (19:12 +0100)
commitdaae97bc14742c75408c4eb05808a2102cfe2bcf
tree95a803864ed600eac8986c123869e4ea5d9a6db8
parent82646bbf1a5a7d745da81b239a12667a51703dc1
dirmngr: Avoid network queries for literal IP addresses.

* dirmngr/dns-stuff.c (resolve_name_libdns): USe flags AI_NUMERICHOST
for literal IP addresses.
(resolve_name_standard): Ditto.

Signed-off-by: Werner Koch <wk@gnupg.org>
dirmngr/dns-stuff.c