--- a/util/Zeroconf.py Wed Aug 16 17:27:58 2017 +0300
+++ b/util/Zeroconf.py Thu Aug 17 09:55:39 2017 +0300
@@ -150,7 +150,7 @@
_TYPE_TXT = 16
_TYPE_AAAA = 28
_TYPE_SRV = 33
-_TYPE_ANY = 255
+_TYPE_ANY = 255
# Mapping constants to names
@@ -530,7 +530,7 @@
def readString(self, len):
"""Reads a string of a given length from the packet"""
format = '!' + str(len) + 's'
- length = struct.calcsize(format)
+ length = struct.calcsize(format)
info = struct.unpack(format, self.data[self.offset:self.offset+length])
self.offset += length
return info[0]