git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce2004d
)
s4-dns: fixed lookup of SRV records using dns_ex
author
Andrew Tridgell
<tridge@samba.org>
Mon, 13 Sep 2010 13:07:44 +0000
(23:07 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Wed, 15 Sep 2010 05:39:35 +0000
(15:39 +1000)
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
source4/libcli/resolve/dns_ex.c
patch
|
blob
|
history
diff --git
a/source4/libcli/resolve/dns_ex.c
b/source4/libcli/resolve/dns_ex.c
index 423668d4b6cbd1e21b05cec6f2f850926a6051a6..76dd10315406e90b41e50505a45474f6f5e740ef 100644
(file)
--- 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;
}