Subject: [MBONED] [Errata Verified] RFC8777 (6155)

From: RFC Errata System <[email-masked]>
Date: Tue, 27 Apr 2021 09:34:37 -0700 (PDT)

The following errata report has been verified for RFC8777,
"DNS Reverse IP Automatic Multicast Tunneling (AMT) Discovery". 

--------------------------------------
You may review the report below and at:
https://www.rfc-editor.org/errata/eid6155

--------------------------------------
Status: Verified
Type: Editorial

Reported by: Jake Holland <[email-masked]>
Date Reported: 2020-05-01
Verified by: Warren Kumari (Ops AD) (IESG)

Section: Appendix A

Original Text
-------------
   <CODE BEGINS>
     $ cat translate.py
     #!/usr/bin/env python3
     import sys
     name=sys.argv[1]
     wire=''
     for dn in name.split('.'):
       if len(dn) > 0:
         wire += ('%02x' % len(dn))
         wire += (''.join('%02x'%ord(x) for x in dn))
     print(len(wire)//2) + 2
     print(wire)

     $ ./translate.py amtrelays.example.com
     24
     09616d7472656c617973076578616d706c6503636f6d
   <CODE ENDS>

Corrected Text
--------------
   <CODE BEGINS>
     $ cat translate.py
     #!/usr/bin/env python3
     import sys
     name=sys.argv[1]
     wire=''
     for dn in name.split('.'):
       if len(dn) > 0:
         wire += ('%02x' % len(dn))
         wire += (''.join('%02x'%ord(x) for x in dn))
     print(len(wire)//2 + 2)
     print(wire)

     $ ./translate.py amtrelays.example.com
     24
     09616d7472656c617973076578616d706c6503636f6d
   <CODE ENDS>

Notes
-----
The original sample code gives a runtime error when executed.  The +2 should have been inside the parenthesis for the print function.

--------------------------------------
RFC8777 (draft-ietf-mboned-driad-amt-discovery-13)
--------------------------------------
Title               : DNS Reverse IP Automatic Multicast Tunneling (AMT) Discovery
Publication Date    : April 2020
Author(s)           : J. Holland
Category            : PROPOSED STANDARD
Source              : MBONE Deployment
Area                : Operations and Management
Stream              : IETF
Verifying Party     : IESG