Skip to content

Commit

Permalink
Bugfix: cache flush properly (#211)
Browse files Browse the repository at this point in the history
Also refactored integration_success test.
  • Loading branch information
keepsimple1 committed May 9, 2024
1 parent ccdae2d commit 3c924f4
Show file tree
Hide file tree
Showing 3 changed files with 282 additions and 184 deletions.
4 changes: 4 additions & 0 deletions src/dns_parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,10 @@ pub trait DnsRecordExt: fmt::Debug {
self.get_record().get_created()
}

fn get_expire(&self) -> u64 {
self.get_record().get_expire_time()
}

fn set_expire(&mut self, expire_at: u64) {
self.get_record_mut().set_expire(expire_at);
}
Expand Down
Loading

0 comments on commit 3c924f4

Please sign in to comment.