Skip to content

Commit 187f30d

Browse files
author
Maciej Wójcik
committed
add firewall config to GW update mechanism
1 parent e5c54fc commit 187f30d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: wireguard/gateway.proto

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
syntax = "proto3";
22
package gateway;
33

4+
import "firewall.proto";
45
import "google/protobuf/empty.proto";
56

67
message ConfigurationRequest {
@@ -14,6 +15,7 @@ message Configuration {
1415
uint32 port = 4;
1516
repeated Peer peers = 5;
1617
repeated string addresses = 6;
18+
optional firewall.FirewallConfig firewall_config = 7;
1719
}
1820

1921
enum UpdateType {
@@ -34,6 +36,7 @@ message Update {
3436
oneof update {
3537
Peer peer = 2;
3638
Configuration network = 3;
39+
firewall.FirewallConfig firewall_config = 4;
3740
}
3841
}
3942

0 commit comments

Comments
 (0)