Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the POE-Filter-DHCPd-Lease CPAN distribution.

Report information
The Basics
Id: 53807
Status: rejected
Priority: 0/
Queue: POE-Filter-DHCPd-Lease

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

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



Subject: Static host entries break the parser
If you have a host entry like this: host happyhostname { dynamic; hardware ethernet 00:01:02:03:04:05; } The parser will break because it sees a closing bracket with no opening lease { statement. It causes errors like this: Can't use an undefined value as a HASH reference at /usr/local/share/perl/5.10.0/Net/ISC/DHCPd/Leases.pm line 126, <$FH> line 12. My workaround was to put: return if (!defined( $_[0] )); at the beginning of add_lease. Hope this helps. Robert
I don't get it. Your fix refers to Net::ISC::DHCPd::Leases ? Why is the bug connected to POE::Filter::DHCPd::Lease ? Could you give me some details on what you're trying to do? You're fix sounds sane, but I just don't want to fix the wrong thing...
Need more feedback.