RFC5952 issue

17 views
Skip to first unread message

David Waitzman

unread,
Apr 22, 2013, 11:27:27 AM4/22/13
to dnspyth...@googlegroups.com
dns python 1.10 does not seem to conform to RFC5952 section 4.2.2:
   The symbol "::" MUST NOT be used to shorten just one 16-bit 0 field.
   For example, the representation 2001:db8:0:1:1:1:1:1 is correct, but
   2001:db8::1:1:1:1:1 is not correct.

I think the bug fix is to change line 75 of ipv6.py from

if best_len > 0:
to
if best_len > 1:

Reply all
Reply to author
Forward
0 new messages