Browse Source

updated version

0xdcarns 3 years ago
parent
commit
089f026080
2 changed files with 5 additions and 5 deletions
  1. 4 4
      netclient/main.go
  2. 1 1
      servercfg/serverconf.go

+ 4 - 4
netclient/main.go

@@ -24,7 +24,7 @@ func main() {
 	app := cli.NewApp()
 	app := cli.NewApp()
 	app.Name = "Netclient CLI"
 	app.Name = "Netclient CLI"
 	app.Usage = "Netmaker's netclient agent and CLI. Used to perform interactions with Netmaker server and set local WireGuard config."
 	app.Usage = "Netmaker's netclient agent and CLI. Used to perform interactions with Netmaker server and set local WireGuard config."
-	app.Version = "v0.8.0"
+	app.Version = "v0.8.1"
 
 
 	cliFlags := []cli.Flag{
 	cliFlags := []cli.Flag{
 		&cli.StringFlag{
 		&cli.StringFlag{
@@ -346,11 +346,11 @@ func main() {
 			if uspace == "wg" {
 			if uspace == "wg" {
 				log.Println(err)
 				log.Println(err)
 				log.Fatal("WireGuard not installed. Please install WireGuard (wireguard-tools) and try again.")
 				log.Fatal("WireGuard not installed. Please install WireGuard (wireguard-tools) and try again.")
-			} 
+			}
 			ncutils.PrintLog("Running with userspace wireguard: "+uspace, 0)
 			ncutils.PrintLog("Running with userspace wireguard: "+uspace, 0)
 		} else if uspace != "wg" {
 		} else if uspace != "wg" {
-			log.Println("running userspace WireGuard with "+uspace )
-		} 
+			log.Println("running userspace WireGuard with " + uspace)
+		}
 	}
 	}
 	if !ncutils.IsKernel() {
 	if !ncutils.IsKernel() {
 		if !local.IsWGInstalled() {
 		if !local.IsWGInstalled() {

+ 1 - 1
servercfg/serverconf.go

@@ -73,7 +73,7 @@ func GetAPIConnString() string {
 	return conn
 	return conn
 }
 }
 func GetVersion() string {
 func GetVersion() string {
-	version := "0.8.0"
+	version := "0.8.1"
 	if config.Config.Server.Version != "" {
 	if config.Config.Server.Version != "" {
 		version = config.Config.Server.Version
 		version = config.Config.Server.Version
 	}
 	}