You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From the README, "Lookups are performed by longest-prefix matching." And maybe the confusing part is also that I don't think this is doing a lookup of the networks/keys:
print(t["10.1.0.0/22"], t["10.1.0.0/24"])
I think it's silently dropping the prefix length and essentially just doing:
print(t["10.1.0.0"], t["10.1.0.0"])
And the longest prefix match for that was "as20".
To get the list of prefixes that were originally inserted in the SubnetTree, might be able to use the prefixes() method:
Apparently, when you put the longest prefix it over scribe all less specific.
The text was updated successfully, but these errors were encountered: