0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00

fixup! maria's test aggregator minor fixes

This commit is contained in:
Maria Matejka 2023-12-28 20:45:08 +01:00
parent 442bea27d4
commit 2406950068

View File

@ -68,7 +68,7 @@ class IPTrie:
if len(intersection) > 0: if len(intersection) > 0:
nap.local = self.agrclass(net, sorted(intersection)[0]) nap.local = self.agrclass(net, sorted(intersection)[0])
nap.buckets = intersection nap.buckets = intersection
else if net == self.rootnet: elif net == self.rootnet:
nap.buckets = ac[0].buckets | ac[1].buckets nap.buckets = ac[0].buckets | ac[1].buckets
nap.local = self.local nap.local = self.local
else: else: