hgext/zeroconf/Zeroconf.py
changeset 28504 3c90090320ad
parent 28422 e2c6092ad422
child 34447 5385b76fd1fd
--- a/hgext/zeroconf/Zeroconf.py	Sat Mar 12 04:35:42 2016 +0900
+++ b/hgext/zeroconf/Zeroconf.py	Fri Mar 11 15:40:58 2016 -0800
@@ -555,7 +555,7 @@
         """Reads answers, authorities and additionals section of the packet"""
         format = '!HHiH'
         length = struct.calcsize(format)
-        n = self.numanswers + self.numAuthorities + self.numadditionals
+        n = self.numanswers + self.numauthorities + self.numadditionals
         for i in range(0, n):
             domain = self.readName()
             info = struct.unpack(format,