diff options
author | Douglas Bagnall <douglas.bagnall@catalyst.net.nz> | 2021-03-24 12:49:22 +1300 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2021-03-29 23:20:37 +0000 |
commit | 162e6fb25ab9f61b7c1fe69c54dc5e8b17601bcf (patch) | |
tree | 8624a0b553669694f1fdc84c1c74cb514abf512e /source4/rpc_server | |
parent | 5f4b73901175a0caedf8f5de7ffda6bb3f2f2a6c (diff) | |
download | samba-162e6fb25ab9f61b7c1fe69c54dc5e8b17601bcf.tar.gz |
librpc/idl: dnsp tombstone timestamp name matches MS-DNSP
MS-DNSP uses the term "EntombedTime" in e.g. "2.2.2.2.4.23 DNS_RPC_RECORD_TS"
which is more descriptive than the generic "timestamp", and less likely to be
confused with dwTimestamp, which has been our curse. Let's make it grep-able,
google-able, and evocative.
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/rpc_server')
-rw-r--r-- | source4/rpc_server/dnsserver/dnsdata.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/rpc_server/dnsserver/dnsdata.c b/source4/rpc_server/dnsserver/dnsdata.c index 31d0233cf52..ae64b9b643c 100644 --- a/source4/rpc_server/dnsserver/dnsdata.c +++ b/source4/rpc_server/dnsserver/dnsdata.c @@ -306,7 +306,7 @@ void dnsp_to_dns_copy(TALLOC_CTX *mem_ctx, struct dnsp_DnssrvRpcRecord *dnsp, switch (dnsp->wType) { case DNS_TYPE_TOMBSTONE: - dns->data.timestamp = dnsp->data.timestamp; + dns->data.EntombedTime = dnsp->data.EntombedTime; break; case DNS_TYPE_A: @@ -437,7 +437,7 @@ WERROR dns_to_dnsp_convert(TALLOC_CTX *mem_ctx, struct DNS_RPC_RECORD *dns, switch (dns->wType) { case DNS_TYPE_TOMBSTONE: - dnsp->data.timestamp = dns->data.timestamp; + dnsp->data.EntombedTime = dns->data.EntombedTime; break; case DNS_TYPE_A: |