Subject: | Bug/feature request for Net::IPTrie - doesn't match on a default route |
Date: | Thu, 28 Aug 2008 09:28:38 +0930 |
To: | bug-Net-IPTrie [...] rt.cpan.org |
From: | Mark Smith <marksmith [...] adam.com.au> |
Hi,
I've been looking into the Net::IPTrie module to replace a linear IP
address search in some network traffic analysis software we use, with
the expectation that IP address looks will be significantly faster.
In addition to more specific prefixes, I wanted to have a catch all
"default route" in the Trie. However, unfortunately that doesn't seem to
be working - the 0.0.0.0/0 prefix seems to be added successfully,
however when I call the 'find' procedure to with a prefix that should
match on it, I get the perl error "Can't call method "address" on an
undefined value".
Would it be possible to add support for adding a default route prefix?
Thanks,
Mark.