Browse Source

Add example of proper connectTo entry to missing port error

jeffl35 8 years ago
parent
commit
220b3b847d
1 changed files with 2 additions and 1 deletions
  1. 2 1
      client/Configurator.c

+ 2 - 1
client/Configurator.c

@@ -227,7 +227,8 @@ static void udpInterface(Dict* config, struct Context* ctx)
                     }
                 } else {
                     // it doesn't have a port
-                    Log_critical(ctx->logger, "Missing port in connection [%s].", key->bytes);
+                    Log_critical(ctx->logger, "Connection [%s] must be $IP:$PORT, or "
+                                                "[$IP]:$PORT for IPv6.", key->bytes);
                     exit(-1);
                 }
                 Dict_putInt(value, String_CONST("interfaceNumber"), ifNum, perCallAlloc);