浏览代码

Add example of proper connectTo entry to missing port error

jeffl35 7 年之前
父节点
当前提交
220b3b847d
共有 1 个文件被更改,包括 2 次插入1 次删除
  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);