diff --git a/Makefile b/Makefile index cd90be8..9ae4ae2 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # "Makefile" for graftcp. -# Copyright (C) 2016, 2018, 2020, 2021 Hmgle +# Copyright (C) 2016, 2018, 2020, 2021, 2023 Hmgle # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -46,7 +46,7 @@ else endif ifneq ($(shell echo $(VERSION) | head -c 1), v) - VERSION=v0.5 + VERSION=v0.6 endif CFLAGS += -DVERSION=\"$(VERSION)\" diff --git a/graftcp.c b/graftcp.c index 266b8a8..eee0d7a 100644 --- a/graftcp.c +++ b/graftcp.c @@ -30,7 +30,7 @@ #include "string-set.h" #ifndef VERSION -#define VERSION "v0.5" +#define VERSION "v0.6" #endif struct sockaddr_in PROXY_SA; diff --git a/local/Makefile b/local/Makefile index d62c754..c9ba9e5 100644 --- a/local/Makefile +++ b/local/Makefile @@ -1,5 +1,5 @@ ifneq ($(shell echo $(VERSION) | head -c 1), v) - VERSION=v0.5 + VERSION=v0.6 endif GO_BUILD_PREFIX_FLAGS := diff --git a/local/cmd/graftcp-local/main.go b/local/cmd/graftcp-local/main.go index 7d4ae52..6658ce6 100644 --- a/local/cmd/graftcp-local/main.go +++ b/local/cmd/graftcp-local/main.go @@ -13,7 +13,7 @@ import ( var ( selectProxyMode string - version = "v0.5" + version = "v0.6" ) // App for graftcp-local. diff --git a/local/cmd/mgraftcp/main.go b/local/cmd/mgraftcp/main.go index 99305ca..da7ce2e 100644 --- a/local/cmd/mgraftcp/main.go +++ b/local/cmd/mgraftcp/main.go @@ -10,6 +10,7 @@ package main // // int client_main(int argc, char **argv); import "C" + import ( "bufio" "fmt" @@ -63,7 +64,7 @@ var ( help bool showVersion bool - version = "v0.5" + version = "v0.6" ) func init() {