Subject: [pcp] Mistake in 12.4. "Source Address Replicated in PCP Header"

From: Stuart Cheshire <[email-masked]>
Date: Tue, 01 Nov 2011 14:50:10 -0700

I just spotted a mistake in the "Source Address Replicated in PCP  
Header" pseudocode.

It said "Bind the UDP socket" when it should be "Connect the UDP socket"

Here is the fix:

Index: draft-ietf-pcp-base.xml
===================================================================
--- draft-ietf-pcp-base.xml	(revision 202)
+++ draft-ietf-pcp-base.xml	(working copy)
@@ -3314,7 +3314,8 @@
          <t><list style="numbers">
              <?rfc subcompact="yes"?>
              <t>Create a UDP socket.</t>
-            <t>Bind the UDP socket.</t>
+            <t>Call "connect" on this UDP socket using the
+            address and port of the desired PCP server.</t>
              <t>Call the getsockname() function to retrieve a sockaddr
              containing the source address the kernel will use
              for UDP packets sent through this socket.</t>
@@ -3322,7 +3323,7 @@
              address into an IPv4-mapped IPv6 address.  Place the IPv6
              address (or IPv4-mapped IPv6 address) into the PCP
              Client's IP Address field in the PCP header.</t>
-            <t>Send PCP requests using this bound UDP socket.</t>
+            <t>Send PCP requests using this connected UDP socket.</t>
              <?rfc subcompact="no"?>
            </list></t>
  </section>

Stuart Cheshire <[email-masked]>
* Wizard Without Portfolio, Apple Inc.
* www.stuartcheshire.org