mirror of
https://github.com/samba-team/samba.git
synced 2025-01-27 14:04:05 +03:00
r11913: if we have a UNIQUE name with more than 1 address,
it becomes implicit an MHOMED record metze (This used to be commit a5bced92a91f462ac6c41c04012aaeb3f77455de)
This commit is contained in:
parent
3f80ecc0de
commit
c91bdb3af2
@ -81,6 +81,11 @@ static void wins_wack_allow(struct wack_state *state)
|
||||
rec->expire_time);
|
||||
if (rec->addresses == NULL) goto failed;
|
||||
|
||||
/* if we have more than one address, this becomes implicit a MHOMED record */
|
||||
if (winsdb_addr_list_length(rec->addresses) > 1) {
|
||||
rec->type = WREPL_TYPE_MHOMED;
|
||||
}
|
||||
|
||||
winsdb_modify(state->winssrv->wins_db, rec, WINSDB_FLAG_ALLOC_VERSION | WINSDB_FLAG_TAKE_OWNERSHIP);
|
||||
|
||||
DEBUG(4,("WINS: accepted registration of %s with address %s\n",
|
||||
|
Loading…
x
Reference in New Issue
Block a user