Browse Source

fixed missing comma

0xdcarns 3 years ago
parent
commit
70aa4d717f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      netclient/functions/localport_freebsd.go

+ 1 - 1
netclient/functions/localport_freebsd.go

@@ -34,7 +34,7 @@ func UpdateLocalListenPort(nodeCfg *config.ClientConfig) error {
 	var err error
 	localPort, err := GetLocalListenPort(nodeCfg.Node.Interface)
 	if err != nil {
-		logger.Log(1, "error encountered checking local listen port for interface : ",nodeCfg.Node.Interface err.Error())
+		logger.Log(1, "error encountered checking local listen port for interface : ", nodeCfg.Node.Interface, err.Error())
 	} else if nodeCfg.Node.LocalListenPort != localPort && localPort != 0 {
 		logger.Log(1, "local port has changed from ", strconv.Itoa(int(nodeCfg.Node.LocalListenPort)), " to ", strconv.Itoa(int(localPort)))
 		nodeCfg.Node.LocalListenPort = localPort