From 2406d297c72887204449ab3912381de20ad6c4f3 Mon Sep 17 00:00:00 2001 From: Markus Pettersson Date: Thu, 28 Sep 2023 15:57:48 +0200 Subject: [PATCH] Fix protobuf field numbers should start from 1 This was not the case for `Socks5Local` & `Shadowsocks` --- .../proto/management_interface.proto | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/mullvad-management-interface/proto/management_interface.proto b/mullvad-management-interface/proto/management_interface.proto index 2c2182e5ac4b..1bbb7f501281 100644 --- a/mullvad-management-interface/proto/management_interface.proto +++ b/mullvad-management-interface/proto/management_interface.proto @@ -338,9 +338,9 @@ message AccessMethod { message Direct {} message Bridges {} message Socks5Local { - string ip = 4; - uint32 port = 5; - uint32 local_port = 6; + string ip = 1; + uint32 port = 2; + uint32 local_port = 3; } message SocksAuth { string username = 1; @@ -352,10 +352,10 @@ message AccessMethod { SocksAuth authentication = 3; } message Shadowsocks { - string ip = 2; - uint32 port = 3; - string password = 4; - string cipher = 5; + string ip = 1; + uint32 port = 2; + string password = 3; + string cipher = 4; } oneof access_method { Direct direct = 1;