Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Commit

Permalink
Surely $header->qdcount($ancount) etc is a copy/paste typo
Browse files Browse the repository at this point in the history
  • Loading branch information
wessels committed Sep 6, 2018
1 parent 3e7fc5f commit 0e8edc8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Net/DNS/Fingerprint.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2184,9 +2184,9 @@ sub fp2header {

my ($qdcount, $ancount, $nscount, $arcount) = @list;
$header->qdcount($qdcount) unless $qdcount == $header->qdcount;
$header->qdcount($ancount) unless $ancount == $header->ancount;
$header->qdcount($nscount) unless $nscount == $header->nscount;
$header->qdcount($arcount) unless $arcount == $header->arcount;
$header->ancount($ancount) unless $ancount == $header->ancount;
$header->nscount($nscount) unless $nscount == $header->nscount;
$header->arcount($arcount) unless $arcount == $header->arcount;
}

sub probe {
Expand Down

0 comments on commit 0e8edc8

Please sign in to comment.