diff options
author | Andrew Tridgell <tridge@samba.org> | 1997-10-15 09:15:45 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1997-10-15 09:15:45 +0000 |
commit | e1e86c1a160c8302004ea58e4f0f5874dd179dae (patch) | |
tree | b9a4a216f64d928e4589a55471beca4e621937c5 /source/nameannounce.c | |
parent | 708edc348f0fb81d9c918e4bf857f339a13a3781 (diff) | |
download | samba-e1e86c1a160c8302004ea58e4f0f5874dd179dae.tar.gz samba-e1e86c1a160c8302004ea58e4f0f5874dd179dae.tar.xz samba-e1e86c1a160c8302004ea58e4f0f5874dd179dae.zip |
fixed the freeze on logout bug. The fix has several parts:
1) add a new parameter to queue_netbios_packet(), the "reply_id", this
is the id that should be used when sending a further response to the
packet (such as a response after we get back a reply to a name query
after senidnga WACK). reply_id is 0 (meaning unused) in most cases.
2) fix the id used in the reply in add_name_respond() from
response_name_query_register()
3) remember to remove the response record at the end of
response_name_query_register()
4) get the right IP address (it was 0.0.0.0) in
response_name_query_register()
5) add a new field reply_id to struct response_record
Diffstat (limited to 'source/nameannounce.c')
-rw-r--r-- | source/nameannounce.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nameannounce.c b/source/nameannounce.c index d3344ebd478..d69ee32ddf7 100644 --- a/source/nameannounce.c +++ b/source/nameannounce.c @@ -469,7 +469,7 @@ for workgroup %s\n", name, type, inet_ntoa(nr->ip_flgs[0].ip), work->work_group NMB_QUERY,NAME_STATUS_DOM_SRV_CHK, name, type, 0,0,0, work->work_group,NULL, - False, False, nr->ip_flgs[0].ip, nr->ip_flgs[0].ip); + False, False, nr->ip_flgs[0].ip, nr->ip_flgs[0].ip, 0); } } |