Skip Menu |

This queue is for tickets about the Net-IPTrie CPAN distribution.

Report information
The Basics
Id: 38768
Status: resolved
Priority: 0/
Queue: Net-IPTrie

People
Owner: Nobody in particular
Requestors: marksmith [...] adam.com.au
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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.
Fixed in version 0.4. Should be available in the CPAN soon. Thank you. cv On Wed Aug 27 19:59:43 2008, marksmith@adam.com.au wrote: Show quoted text
> 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.