Subject: | Integer overflow |
Date: | Tue, 19 Oct 2010 11:49:51 +0200 |
To: | bug-Net-DHCPClientLive [...] rt.cpan.org |
From: | Johan Huysmans <johan.huysmans [...] inuits.be> |
Hi,
I'm receiving following error when performing a dhcp request:
Integer overflow in hexadecimal number at
/usr/lib/perl5/site_perl/5.8.5/Net/DHCPClientLive.pm line 432.
Integer overflow in hexadecimal number at
/usr/lib/perl5/site_perl/5.8.5/Net/DHCPClientLive.pm line 432.
This is the relevant part of my script:
--------
print "Trying to get a DHCP lease of $mac on $interf... ";
my $dhcp_clt = new Net::DHCPClientLive( interface => $interf, cltmac =>
$mac);
my $dhcp = $dhcp_clt->goState('BOUND');
if ($dhcp) {
$imageserver = $dhcp_clt->{'siaddr'};
print "OK\n";
last;
} else {
next;
}
--------
I'm only receiving this when it receives a dhcp address from the server.
If the dhcp doens't provide an ip address for the specified mac, the
problem doesn't occur.
Thx!
Johan Huysmans
Newtecs MENOS system awarded IBC Innovation Award for Content Delivery & the IBC Judges Award Newtecs FlexACM awarded 2009 Teleport Technology of the Year by WTA *** e-mail confidentiality footer *** This message and any attachments thereto are confidential. They may also be privileged or otherwise protected by work product immunity or other legal rules. If you have received it by mistake, please let us know by e-mail reply and delete it from your system; you may not copy this message or disclose its contents to anyone. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore is in no way liable for any errors or omissions in the content of this message, which may arise as a result of e-mail transmission. If verification is required, please request a hard copy.