[MBONED] [Editorial Errata Reported] RFC8777 (6155)

RFC Errata System <rfc-editor@rfc-editor.org> Fri, 01 May 2020 22:41 UTC

Return-Path: <wwwrun@rfc-editor.org>
X-Original-To: mboned@ietfa.amsl.com
Delivered-To: mboned@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 165113A1723 for <mboned@ietfa.amsl.com>; Fri, 1 May 2020 15:41:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lFWQQGzXBPhZ for <mboned@ietfa.amsl.com>; Fri, 1 May 2020 15:41:37 -0700 (PDT)
Received: from rfc-editor.org (rfc-editor.org [4.31.198.49]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6EFE23A1721 for <mboned@ietf.org>; Fri, 1 May 2020 15:41:37 -0700 (PDT)
Received: by rfc-editor.org (Postfix, from userid 30) id CD981F4074C; Fri, 1 May 2020 15:41:18 -0700 (PDT)
To: jakeholland.net@gmail.com, warren@kumari.net, rwilton@cisco.com, gjshep@gmail.com, lenny@juniper.net
X-PHP-Originating-Script: 30:errata_mail_lib.php
From: RFC Errata System <rfc-editor@rfc-editor.org>
Cc: jholland@akamai.com, mboned@ietf.org, rfc-editor@rfc-editor.org
Content-Type: text/plain; charset="UTF-8"
Message-Id: <20200501224118.CD981F4074C@rfc-editor.org>
Date: Fri, 01 May 2020 15:41:18 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/mboned/ffmkBszV-nThPpepROU3EL8bVAw>
Subject: [MBONED] [Editorial Errata Reported] RFC8777 (6155)
X-BeenThere: mboned@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Mail List for the Mboned Working Group <mboned.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mboned>, <mailto:mboned-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mboned/>
List-Post: <mailto:mboned@ietf.org>
List-Help: <mailto:mboned-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mboned>, <mailto:mboned-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 01 May 2020 22:41:44 -0000

The following errata report has been submitted 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

--------------------------------------
Type: Editorial
Reported by: Jake Holland <jholland@akamai.com>

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.

Instructions:
-------------
This erratum is currently posted as "Reported". If necessary, please
use "Reply All" to discuss whether it should be verified or
rejected. When a decision is reached, the verifying party  
can log in to change the status and edit the report, if necessary. 

--------------------------------------
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