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

rpc dnsserver: set the record rank

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Douglas Bagnall 2021-05-28 22:45:52 +12:00 committed by Andrew Bartlett
parent 8b3d2556da
commit 0fa98cd38b

View File

@ -657,6 +657,8 @@ WERROR dnsserver_db_update_record(TALLOC_CTX *mem_ctx,
arec->dwSerial = serial;
}
/* Set the correct rank for the record. */
set_record_rank(z, name, arec);
/*
* Successful RPC updates *always* zero timestamp and flags and set
* version.