summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-10-29 13:34:00 -0700
committerJeremy Allison <jra@samba.org>2007-10-29 13:34:00 -0700
commite2d0526c9799a75f87bbbe24f2e5a268df89fea9 (patch)
tree27527f08d76ecf5b1f018c99763054d2c3577c46 /source3/include
parent6ca0d8124c26edec1d9232d7380c4b66a2915cad (diff)
downloadsamba-e2d0526c9799a75f87bbbe24f2e5a268df89fea9.tar.gz
samba-e2d0526c9799a75f87bbbe24f2e5a268df89fea9.tar.bz2
samba-e2d0526c9799a75f87bbbe24f2e5a268df89fea9.zip
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)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/ads_dns.h6
1 files changed, 3 insertions, 3 deletions
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;
};