diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-01-31 17:16:45 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:09:27 -0500 |
commit | ca3f70256ac0430e2db846d0293a7750a6d3ef6b (patch) | |
tree | e5b29b99c6164bb2a077b8b608c9b4966bcbb55d /source4/libcli/nbt/namequery.c | |
parent | 3b6fb593144290d5bf97d601ae99708880ff781f (diff) | |
download | samba-ca3f70256ac0430e2db846d0293a7750a6d3ef6b.tar.gz samba-ca3f70256ac0430e2db846d0293a7750a6d3ef6b.tar.bz2 samba-ca3f70256ac0430e2db846d0293a7750a6d3ef6b.zip |
r5145: define struct ipv4_addr in misc.idl,
so we can use it in nbt.idl and
get a nicer debug output
metze
(This used to be commit abacbc9192646f6f3c720758ab65889b82b9ae7b)
Diffstat (limited to 'source4/libcli/nbt/namequery.c')
-rw-r--r-- | source4/libcli/nbt/namequery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/nbt/namequery.c b/source4/libcli/nbt/namequery.c index 36fbfc8dd0..d77482fc2b 100644 --- a/source4/libcli/nbt/namequery.c +++ b/source4/libcli/nbt/namequery.c @@ -102,7 +102,7 @@ NTSTATUS nbt_name_query_recv(struct nbt_name_request *req, } for (i=0;i<io->out.num_addrs;i++) { - in.s_addr = htonl(packet->answers[0].rdata.netbios.addresses[i].ipaddr); + in.s_addr = htonl(packet->answers[0].rdata.netbios.addresses[i].ipaddr.addr); addr = inet_ntoa(in); if (addr == NULL) { talloc_free(req); |