Hi Antoine,

On Thu, Apr 16 2015, Antoine Beaupré wrote:
>> diff -ur smokeping-2.6.9.orig/lib/Smokeping/probes/AnotherDNS.pm 
>> smokeping-2.6.9/lib/Smokeping/probes/AnotherDNS.pm
>> --- smokeping-2.6.9.orig/lib/Smokeping/probes/AnotherDNS.pm  2013-03-16 
>> 08:29:16.000000000 -0700
>> +++ smokeping-2.6.9/lib/Smokeping/probes/AnotherDNS.pm       2015-04-14 
>> 17:26:14.000000000 -0700
>> @@ -95,7 +95,7 @@
>>          $elapsed = tv_interval( $t0, $t1 );
>>          if ( defined $ready ) {
>>              my $buf = '';
>> -            $ready->recv( $buf, &Net::DNS::PACKETSZ );
>> +            $ready->recv( $buf, 512 );
>>          my ($recvPacket, $err) = Net::DNS::Packet->new(\$buf);
>>          if (defined $recvPacket) {
>>              my $recvHeader = $recvPacket->header();
>
> That's an interesting patch, but I do not understand what the bug is
> in the first place, could you clarify?

Explanation is precisely what the original bug reporter described, that
the version of libnet-dns-perl in jessie has has removed this constant
(copied below).

The effect of doing a dist-upgrade from wheezy to jessie on a system
that is running SmokePing and utilizing AnotherDNS probes, is that all
such targets result in "full-loss".

Incidentally, upstream SmokePing 2.6.10 also removed the reliance on
this deprecated/removed constant.

On Wed, 27 Aug 2014, Uwe Storbeck wrote:
> This is probably caused by an upgrade of package libnet-dns-perl to
> version 0.79-1. Net::DNS::PACKETSZ doesn't exist anymore in that
> package version. PACKETSZ is defined as a constant now.

-- 
Gerald Turner <gtur...@unzane.com>        Encrypted mail preferred!
OpenPGP: 4096R / CA89 B27A 30FA 66C5 1B80  3858 EC94 2276 FDB8 716D

Attachment: signature.asc
Description: PGP signature

Reply via email to