1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

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

to date :-).
Jeremy.
This commit is contained in:
Jeremy Allison 0001-01-01 00:00:00 +00:00
parent a9a959b85d
commit 5959f35db6

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 {