diff options
Diffstat (limited to 'scripts/rpki/resource_set.py')
-rw-r--r-- | scripts/rpki/resource_set.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/rpki/resource_set.py b/scripts/rpki/resource_set.py index baf68d82..2ea15643 100644 --- a/scripts/rpki/resource_set.py +++ b/scripts/rpki/resource_set.py @@ -428,7 +428,10 @@ class resource_bag(object): return not self.as and not self.v4 and not self.v6 def __eq__(self, other): - return self.as == other.as and self.v4 == other.v4 and self.v6 == other.v6 + return self.as == other.as and \ + self.v4 == other.v4 and \ + self.v6 == other.v6 and \ + self.valid_until == other.valid_until def __ne__(self, other): return not (self == other) |