Explorar el Código

Add example of proper connectTo entry to missing port error

jeffl35 hace 7 años
padre
commit
220b3b847d
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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);