diff options
author | Jeremy Allison <jra@samba.org> | 2002-10-03 17:30:57 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-10-03 17:30:57 +0000 |
commit | a287517c7e94ce581c2a1d5f8034b3f6967abf87 (patch) | |
tree | 6b85b5afa381b2916ef08d78cd4b8f52c733474d /source3/nmbd | |
parent | c4596dcf32902b9c7375d84c8a079d30677054fc (diff) | |
download | samba-a287517c7e94ce581c2a1d5f8034b3f6967abf87.tar.gz samba-a287517c7e94ce581c2a1d5f8034b3f6967abf87.tar.bz2 samba-a287517c7e94ce581c2a1d5f8034b3f6967abf87.zip |
Merging tridge's wins fixes. Tridge - we're supposed to be keeping 3.0 up
to date :-).
Jeremy.
(This used to be commit 5959f35db6b4b23c591799dad7587e6616e5a998)
Diffstat (limited to 'source3/nmbd')
-rw-r--r-- | source3/nmbd/nmbd_winsserver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/nmbd/nmbd_winsserver.c b/source3/nmbd/nmbd_winsserver.c index 13554a9430..ee47cff049 100644 --- a/source3/nmbd/nmbd_winsserver.c +++ b/source3/nmbd/nmbd_winsserver.c @@ -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 { |