Skip to content

Commit 488de88

Browse files
committed
1 parent fe77e37 commit 488de88

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

‎Zeroconf.py‎

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -549,14 +549,9 @@ def readOthers(self):
549549
rec = DNSAddress(domain, info[0], info[1], info[2], self.readString(16))
550550
else:
551551
# Try to ignore types we don't know about
552-
# this may mean the rest of the name is
553-
# unable to be parsed, and may show errors
554-
# so this is left for debugging. New types
555-
# encountered need to be parsed properly.
556-
#
557-
#print "UNKNOWN TYPE = " + str(info[0])
558-
#raise BadTypeInNameException
559-
pass
552+
# Skip the payload for the resource record so the next
553+
# records can be parsed correctly
554+
self.offset += info[3]
560555

561556
if rec is not None:
562557
self.answers.append(rec)

0 commit comments

Comments
 (0)