Browse Source

[2726] Update comment

Mukund Sivaraman 12 years ago
parent
commit
d6b2905297
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/lib/server_common/portconfig.cc

+ 2 - 1
src/lib/server_common/portconfig.cc

@@ -49,7 +49,8 @@ parseAddresses(isc::data::ConstElementPtr addresses,
                         "address and port");
                 }
                 try {
-                    // Just check, don't use the address for anything yet
+                    // We create an IOAddress object to just check that
+                    // construction passes. It is immediately destroyed.
                     // cppcheck-suppress unusedScopedObject
                     IOAddress(addr->stringValue());
                     if (port->intValue() < 0 ||