for back compatibility

This commit is contained in:
rustdesk
2022-01-21 02:06:33 +08:00
parent cd9faf48f3
commit a474f904b1
2 changed files with 4 additions and 8 deletions

View File

@@ -59,8 +59,7 @@ message RegisterPk {
message RegisterPkResponse {
enum Result {
UNKNOWN = 0;
OK = 1;
OK = 0;
UUID_MISMATCH = 2;
ID_EXISTS = 3;
TOO_FREQUENT = 4;
@@ -75,8 +74,7 @@ message PunchHoleResponse {
bytes socket_addr = 1;
bytes pk = 2;
enum Failure {
UNKNOWN = 0;
ID_NOT_EXIST = 1;
ID_NOT_EXIST = 0;
OFFLINE = 2;
LICENSE_MISMATCH = 3;
LICENSE_OVERUSE = 4;