aboutsummaryrefslogtreecommitdiff
path: root/src/fw_actor.rs
diff options
context:
space:
mode:
authoradrien <adrien@luxeylab.net>2021-09-10 18:41:39 +0200
committeradrien <adrien@luxeylab.net>2021-09-10 18:41:39 +0200
commit4d76c3d78ade04038593aeef867294c9eee2a4b8 (patch)
tree8fac4937beafb831b7354bb2afa37bb5bea99e00 /src/fw_actor.rs
parent195aec2cfe738f4025ea540d2591f876e1d209b9 (diff)
downloaddiplonat-4d76c3d78ade04038593aeef867294c9eee2a4b8.tar.gz
diplonat-4d76c3d78ade04038593aeef867294c9eee2a4b8.zip
wrote the skeleton of ACME. Involved solving the cosmetic warnings about CamelCase for enums (without changing the API).
Diffstat (limited to 'src/fw_actor.rs')
-rw-r--r--src/fw_actor.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fw_actor.rs b/src/fw_actor.rs
index 29e6473..9000048 100644
--- a/src/fw_actor.rs
+++ b/src/fw_actor.rs
@@ -73,7 +73,8 @@ impl FirewallActor {
let ports_to_open = messages::PublicExposedPorts {
tcp_ports: diff_tcp,
- udp_ports: diff_udp
+ udp_ports: diff_udp,
+ acme: HashSet::new()
};
fw::open_ports(&self.ipt, ports_to_open)?;