From: Miek Gieben Date: Wed, 12 Jan 2005 12:35:43 +0000 (+0000) Subject: added ipv6 flag X-Git-Tag: release-0.50~576 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=33de6792e6a64e9fa37346badb9a7cba657dfa2b;p=thirdparty%2Fldns.git added ipv6 flag --- diff --git a/ldns/resolver.h b/ldns/resolver.h index 5f86ff88..78b9b4b9 100644 --- a/ldns/resolver.h +++ b/ldns/resolver.h @@ -52,6 +52,8 @@ struct ldns_struct_resolver uint8_t _usevc; /** \brief Wether to ignore the tc bit */ uint8_t _igntc; + /** \brief Wether to use ip6 */ + uint8_t _ip6; }; diff --git a/net.c b/net.c index eb3d5a7c..b9e92426 100644 --- a/net.c +++ b/net.c @@ -18,3 +18,7 @@ #include #include "util.h" + + +/* send of an packet and return any reply packet(s) + */ diff --git a/resolver.c b/resolver.c index 4547f431..007535b1 100644 --- a/resolver.c +++ b/resolver.c @@ -178,6 +178,10 @@ ldns_send(ldns_resolver *r, uint8_t *name, uint8_t *type, uint8_t *class) { assert(r != NULL); assert(name != NULL); + + /* do all the preprocessing here, then fire of an query to + * the network + */ return NULL; }