]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
fixup! maria's test aggregator minor fixes mq-test-python-aggregator
authorMaria Matejka <mq@ucw.cz>
Thu, 28 Dec 2023 19:45:08 +0000 (20:45 +0100)
committerMaria Matejka <mq@ucw.cz>
Thu, 28 Dec 2023 19:45:08 +0000 (20:45 +0100)
mq-sketch/myagr.py

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