diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-09-13 23:07:44 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-09-15 15:39:35 +1000 |
commit | fa7fd4f261955753edfa3a415dcbf1f206200504 (patch) | |
tree | 072621cdc7f3c544883956ea8b5b8b3848e3780a /source4/libcli | |
parent | ce2004d631bb7eb0aa838f07ef48465a6f199d22 (diff) | |
download | samba-fa7fd4f261955753edfa3a415dcbf1f206200504.tar.gz samba-fa7fd4f261955753edfa3a415dcbf1f206200504.tar.bz2 samba-fa7fd4f261955753edfa3a415dcbf1f206200504.zip |
s4-dns: fixed lookup of SRV records using dns_ex
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/libcli')
-rw-r--r-- | source4/libcli/resolve/dns_ex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/resolve/dns_ex.c b/source4/libcli/resolve/dns_ex.c index 423668d4b6..76dd103154 100644 --- a/source4/libcli/resolve/dns_ex.c +++ b/source4/libcli/resolve/dns_ex.c @@ -167,7 +167,7 @@ static void run_child_dns_lookup(struct dns_ex_state *state, int fd) if (do_srv) { /* we are only interested in SRV records */ - if (rr->type != rk_ns_c_in) { + if (rr->type != rk_ns_t_srv) { continue; } @@ -207,7 +207,7 @@ static void run_child_dns_lookup(struct dns_ex_state *state, int fd) continue; } - /* we are only interested in SRV records */ + /* we are only interested in A records */ if (rr->type != rk_ns_t_a) { continue; } |