> 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?
a.
--
Ou bien Dieu voudrait supprimer le mal, mais il ne le peut pas
Ou bien Dieu pourrait supprimer le mal, mais il ne le veut pas.
- Sébastien Faure
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]