2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

Implement compression pointer rollback.

dns_compress_backout() -> dns_compress_rollback()
This commit is contained in:
Mark Andrews
1999-05-03 03:07:16 +00:00
parent 1b9d5f3925
commit c1e7aff941
5 changed files with 72 additions and 13 deletions

View File

@@ -150,6 +150,7 @@ test(unsigned int allowed, dns_name_t *name1, dns_name_t *name2,
RUNTIME_CHECK(dns_name_towire(name3, &cctx, &source) == DNS_R_SUCCESS);
dns_compress_localinvalidate(&cctx);
dns_compress_rollback(&cctx, 0); /* testing only */
dns_compress_invalidate(&cctx);
if (raw) {