Skip to content

Commit

Permalink
Fix protobuf field numbers should start from 1
Browse files Browse the repository at this point in the history
This was not the case for `Socks5Local` & `Shadowsocks`
  • Loading branch information
MarkusPettersson98 committed Sep 28, 2023
1 parent 7dc08e4 commit 2406d29
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions mullvad-management-interface/proto/management_interface.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit 2406d29

Please sign in to comment.