|
@@ -19,7 +19,7 @@ import (
|
|
"strings"
|
|
"strings"
|
|
)
|
|
)
|
|
|
|
|
|
-var version string = "0.19.0"
|
|
|
|
|
|
+var version string = "0.19.1"
|
|
|
|
|
|
func Full() string {
|
|
func Full() string {
|
|
return version
|
|
return version
|
|
@@ -48,8 +48,8 @@ func Minor(v string) int64 {
|
|
|
|
|
|
// add every case there if server will not accept client's protocol and return false
|
|
// add every case there if server will not accept client's protocol and return false
|
|
func Compat(client string) (ok bool, msg string) {
|
|
func Compat(client string) (ok bool, msg string) {
|
|
- if LessThan(client, "0.10.0") {
|
|
|
|
- return false, "Please upgrade your frpc version to at least 0.10.0"
|
|
|
|
|
|
+ if LessThan(client, "0.18.0") {
|
|
|
|
+ return false, "Please upgrade your frpc version to at least 0.18.0"
|
|
}
|
|
}
|
|
return true, ""
|
|
return true, ""
|
|
}
|
|
}
|