mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-29 18:44:43 +00:00
do no print warning about different dns message ids
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3016 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
bb3dac673f
commit
0bb41a5ec3
1 changed files with 0 additions and 3 deletions
|
|
@ -245,9 +245,6 @@ class Message(object):
|
|||
def is_response(self, other):
|
||||
"""Is other a response to self?
|
||||
@rtype: bool"""
|
||||
if self.id != other.id:
|
||||
linkcheck.log.warn(linkcheck.LOG_DNS,
|
||||
"DNS message IDs differ\n%s\n----\n%s\n----", self, other)
|
||||
if other.flags & linkcheck.dns.flags.QR == 0 or \
|
||||
linkcheck.dns.opcode.from_flags(self.flags) != \
|
||||
linkcheck.dns.opcode.from_flags(other.flags):
|
||||
|
|
|
|||
Loading…
Reference in a new issue