1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

Merging tridge's wins fixes. Tridge - we're supposed to be keeping 3.0 up

to date :-).
Jeremy.
(This used to be commit 5959f35db6b4b23c591799dad7587e6616e5a998)
This commit is contained in:
Jeremy Allison 2002-10-03 17:30:57 +00:00
parent c4596dcf32
commit a287517c7e

View File

@ -1952,8 +1952,8 @@ void nmbd_wins_new_entry(int msg_type, pid_t src, void *buf, size_t len)
/* I'm giving up on multi homed. Too much complex to understand */
if (record->wins_flags&WINS_MHOMED) {
if (! namerec->data.wins_flags&WINS_ACTIVE) {
if ( !namerec->data.wins_flags&WINS_RELEASED && !namerec->data.wins_flags&WINS_NGROUP)
if (! (namerec->data.wins_flags&WINS_ACTIVE)) {
if ( !(namerec->data.wins_flags&WINS_RELEASED) && !(namerec->data.wins_flags&WINS_NGROUP))
overwrite=True;
}
else {