From e2d0526c9799a75f87bbbe24f2e5a268df89fea9 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 29 Oct 2007 13:34:00 -0700 Subject: Change our DNS code to cope with AAAA records. A6 records look like a nightmare to use, so ignore them for now. Jeremy. (This used to be commit 814daded90781dc5a5bdd522ea8cfe5d47e6d7a7) --- source3/include/ads_dns.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/include/ads_dns.h') diff --git a/source3/include/ads_dns.h b/source3/include/ads_dns.h index a9515f3199..24805f85a3 100644 --- a/source3/include/ads_dns.h +++ b/source3/include/ads_dns.h @@ -36,7 +36,7 @@ struct dns_rr { uint16 in_class; uint32 ttl; uint16 rdatalen; - uint8 *rdata; + uint8 *rdata; }; /* SRV records */ @@ -47,14 +47,14 @@ struct dns_rr_srv { uint16 weight; uint16 port; size_t num_ips; - struct in_addr *ips; /* support multi-homed hosts */ + struct sockaddr_storage *ss_s; /* support multi-homed hosts */ }; /* NS records */ struct dns_rr_ns { const char *hostname; - struct in_addr ip; + struct sockaddr_storage ss; }; -- cgit