Show More
@@ -555,7 +555,7 b' class DNSIncoming(object):' | |||
|
555 | 555 | """Reads answers, authorities and additionals section of the packet""" |
|
556 | 556 | format = '!HHiH' |
|
557 | 557 | length = struct.calcsize(format) |
|
558 |
n = self.numanswers + self.num |
|
|
558 | n = self.numanswers + self.numauthorities + self.numadditionals | |
|
559 | 559 | for i in range(0, n): |
|
560 | 560 | domain = self.readName() |
|
561 | 561 | info = struct.unpack(format, |
General Comments 0
You need to be logged in to leave comments.
Login now