mjschultz / py-radix

Python radix tree implementation for IPv4 and IPv6 prefix matching.
Other
119 stars 37 forks source link

Fix search_covered #14

Closed htj closed 9 years ago

htj commented 9 years ago

The initial c implementation of search_covered would segfault when node->prefix was null. Fixing this involves checking subtree matching.

There might be more clever way to solve this.

mjschultz commented 9 years ago

Thanks, py-radix==0.8.1 is available on pypi.