From b6b49ca7e4a871772998f1c1b2e6734f3e22e03f Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 3 May 2015 10:54:52 -0400 Subject: [PATCH] Docs: Added comment to prevent changes --- src/commands/CmdSync.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/commands/CmdSync.cpp b/src/commands/CmdSync.cpp index ae49222dc..f69710451 100644 --- a/src/commands/CmdSync.cpp +++ b/src/commands/CmdSync.cpp @@ -339,6 +339,8 @@ bool CmdSync::send ( const Msg& request, Msg& response) { + // It is important that the ':' be the *last* colon, in order to support + // IPv6 addresses. std::string::size_type colon = to.rfind (':'); if (colon == std::string::npos) throw format (STRING_CMD_SYNC_BAD_SERVER, to);