Skip Menu |

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

Report information
The Basics
Id: 45683
Status: rejected
Priority: 0/
Queue: Net-DHCP-Info

People
Owner: Nobody in particular
Requestors: RDRAKE [...] cpan.org
Cc:
AdminCc:

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



Complex DHCP subnets aren't parsed correctly. Here's an example: subnet 10.x.x.96 netmask 255.255.255.224 { option subnet-mask 255.255.255.224; option routers 10.x.x.97; pool { range 10.x.x.98 10.x.x.103; } pool { range 10.x.x.105 10.x.x.114; } pool { range 10.x.x.116 10.x.x.126; } } The best solution I can think of is to make a reference counter for braces, starting with FIND_NET as an optional match .*(\{)? then rather than matching $tab\} as the last match, it could increment and decrement the brace counter.
Not sure if I want to maintain this project anymore. Sorry about that. Write a patch, and I'll submit it - or leave the namespace to you. I've started a new project: http://github.com/jhthorsen/net-dhcpd/tree/master I think it will be a lot more robust and flexible. Best regards, Jan Henning
Robert, have you checked out the new module? You can download it from here, if you don't fancy git: http://cloud.github.com/downloads/jhthorsen/net-dhcpd/Net-DHCPd-0.01.tar.gz Anyway - I have a problem with the name "Net::DHCPd" is no good... Got any ideas? I'm thinking about ISC::DHCPd
On Sun May 17 17:52:17 2009, JHTHORSEN wrote: Show quoted text
> Robert, have you checked out the new module? > > You can download it from here, if you don't fancy git: >
http://cloud.github.com/downloads/jhthorsen/net-dhcpd/Net-DHCPd-0.01.tar.gz Show quoted text
> > Anyway - I have a problem with the name "Net::DHCPd" is no good... Got > any ideas? I'm thinking about ISC::DHCPd
The module has changed name/location: http://github.com/jhthorsen/net-isc-dhcpd/tree/master