SA Bugzilla – Bug 7994
Plugin ASN.pm, AskDNS.pm: return early if $pkt is undefined
Last modified: 2022-05-20 08:52:43 UTC
Both plugins have a comment # NOTE: $pkt will be undef if the DNS query was aborted (e.g. timed out) However, instead of returning immediately, the plugins go on, but at the end do nothing. This makes the understanding of the code more difficult than needed.
Quick cleanup done.. Committed revision 1901082.