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 | 9d3cce7c68723954bf3e97ba5681aa60c31eb835 (patch) | |
tree | b6065399782987c9eb241e00dabc71b074a65e8b /source3/nameelect.c | |
parent | be73ce8321d5714fcd74f71ed9f6532ca4e1090b (diff) | |
download | samba-9d3cce7c68723954bf3e97ba5681aa60c31eb835.tar.gz samba-9d3cce7c68723954bf3e97ba5681aa60c31eb835.tar.bz2 samba-9d3cce7c68723954bf3e97ba5681aa60c31eb835.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
(This used to be commit e1e86c1a160c8302004ea58e4f0f5874dd179dae)
Diffstat (limited to 'source3/nameelect.c')
-rw-r--r-- | source3/nameelect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nameelect.c b/source3/nameelect.c index 5fd1a4bdf2..215ee94feb 100644 --- a/source3/nameelect.c +++ b/source3/nameelect.c @@ -97,7 +97,7 @@ void check_master_browser(time_t t) queue_netbios_packet(d,ClientNMB,NMB_QUERY,NAME_QUERY_MST_CHK, work->work_group,0x1d,0,0,0,NULL,NULL, - True,False,d->bcast_ip,d->bcast_ip); + True,False,d->bcast_ip,d->bcast_ip, 0); } } } |