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