aboutsummaryrefslogtreecommitdiff
path: root/discovery/mdns/mdns_records.h
diff options
context:
space:
mode:
Diffstat (limited to 'discovery/mdns/mdns_records.h')
-rw-r--r--discovery/mdns/mdns_records.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/discovery/mdns/mdns_records.h b/discovery/mdns/mdns_records.h
index de37932c..ce1be4f6 100644
--- a/discovery/mdns/mdns_records.h
+++ b/discovery/mdns/mdns_records.h
@@ -475,6 +475,9 @@ class MdnsRecord {
bool operator<=(const MdnsRecord& other) const;
bool operator>=(const MdnsRecord& other) const;
+ // While not being "equivalent", a record could be said to be an update of
+ // a different record if it is the same, excepting TTL.
+ bool IsReannouncementOf(const MdnsRecord& other) const;
size_t MaxWireSize() const;
const DomainName& name() const { return name_; }
DnsType dns_type() const { return dns_type_; }