summaryrefslogtreecommitdiff
path: root/source4/nbt_server/query.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-02-07 11:49:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:09:35 -0500
commitd09311baa72c0ffa6768a379053dc0bfd38ecbdb (patch)
tree5d55bec4fc1dc3afe1c4a20ef2119d185d850070 /source4/nbt_server/query.c
parentf0b403f27a59306b0b463e48f02a5d705fe37d26 (diff)
downloadsamba-d09311baa72c0ffa6768a379053dc0bfd38ecbdb.tar.gz
samba-d09311baa72c0ffa6768a379053dc0bfd38ecbdb.tar.bz2
samba-d09311baa72c0ffa6768a379053dc0bfd38ecbdb.zip
r5259: make sure we give the ip of the interface that a name query comes in
on as the first IP in a multi-homed reply (This used to be commit a9128f6544d56a637e28430cbd2907acbb978281)
Diffstat (limited to 'source4/nbt_server/query.c')
-rw-r--r--source4/nbt_server/query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/nbt_server/query.c b/source4/nbt_server/query.c
index 80ea3d6ab8..28406081ea 100644
--- a/source4/nbt_server/query.c
+++ b/source4/nbt_server/query.c
@@ -129,5 +129,5 @@ void nbtd_request_query(struct nbt_name_socket *nbtsock,
nbtd_name_query_reply(nbtsock, packet, src_address, src_port,
&iname->name, iname->ttl, iname->nb_flags,
- nbtd_address_list(iface->nbtsrv, packet));
+ nbtd_address_list(iface, packet));
}