diff options
author | Andrew Tridgell <tridge@samba.org> | 2002-06-27 14:37:17 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2002-06-27 14:37:17 +0000 |
commit | 223ddc3f2daf25b16ce60230336747d5fab61e39 (patch) | |
tree | 66fc3123346244d5cc7b0dd47274b214fa1d104d /source3/nmbd/nmbd_responserecordsdb.c | |
parent | 675a108c65834f9402d967926b30e50e811843c1 (diff) | |
download | samba-223ddc3f2daf25b16ce60230336747d5fab61e39.tar.gz samba-223ddc3f2daf25b16ce60230336747d5fab61e39.tar.bz2 samba-223ddc3f2daf25b16ce60230336747d5fab61e39.zip |
The next phase in the WINS rewrite!
We now cope wiith multiple WINS groups and multiple failover servers
for release and refresh as well as registration. We also do the regitrations
in the same fashion as W2K does, where we don't try to register the next
IP in the list for a name until the WINS server has acked the previos IP.
This prevents us flooding the WINS server and also seems to make for much
more reliable multi-homed registration.
I also changed the dead WINS server code to mark pairs of IPs dead,
not individual IPs. The idea is that a WINS server might be dead from
the point of view of one of our interfaces, but not another, so we
need to keep talking to it on one while moving onto a failover WINS
server on the other interface. This copes much better with partial
LAN outages and weird routing tables.
(This used to be commit 313f2c9ff7a513802e4f893324865e70912d419e)
Diffstat (limited to 'source3/nmbd/nmbd_responserecordsdb.c')
-rw-r--r-- | source3/nmbd/nmbd_responserecordsdb.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/nmbd/nmbd_responserecordsdb.c b/source3/nmbd/nmbd_responserecordsdb.c index a2da5ddf4a..7e8c8025ae 100644 --- a/source3/nmbd/nmbd_responserecordsdb.c +++ b/source3/nmbd/nmbd_responserecordsdb.c @@ -97,12 +97,12 @@ void remove_response_record(struct subnet_record *subrec, **************************************************************************/ struct response_record *make_response_record( struct subnet_record *subrec, - struct packet_struct *p, - response_function resp_fn, - timeout_response_function timeout_fn, - success_function success_fn, - fail_function fail_fn, - struct userdata_struct *userdata) + struct packet_struct *p, + response_function resp_fn, + timeout_response_function timeout_fn, + success_function success_fn, + fail_function fail_fn, + struct userdata_struct *userdata) { struct response_record *rrec; struct nmb_packet *nmb = &p->packet.nmb; |