diff options
author | Quentin <quentin@dufour.io> | 2020-07-04 17:16:21 +0200 |
---|---|---|
committer | Quentin <quentin@dufour.io> | 2020-07-04 17:16:21 +0200 |
commit | 7ec74a21d4b90a2ee9c8f4a7ce90babbebef824a (patch) | |
tree | 1e4284195676f4586cd15cb4d3e1da03a9cd11b6 /src/main.rs | |
parent | 5dd4544360906de246de9e33abbfd741681d2fea (diff) | |
parent | 4f4b6b048d53f3c4c9cc2437ba6bc6a9e70cb8c7 (diff) | |
download | diplonat-7ec74a21d4b90a2ee9c8f4a7ce90babbebef824a.tar.gz diplonat-7ec74a21d4b90a2ee9c8f4a7ce90babbebef824a.zip |
Merge pull request 'Automatically manage firewall rules (iptables) for services' (#1) from add-firewall-rules into master
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/diplonat/pulls/1
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index a35916a..ca36c26 100644 --- a/src/main.rs +++ b/src/main.rs @@ -4,6 +4,8 @@ mod consul; mod consul_actor; mod igd_actor; mod diplonat; +mod fw; +mod fw_actor; use log::*; use diplonat::Diplonat; @@ -12,7 +14,7 @@ use diplonat::Diplonat; async fn main() { pretty_env_logger::init(); info!("Starting Diplonat"); - + let mut diplo = Diplonat::new().await.expect("Setup failed"); diplo.listen().await.expect("A runtime error occured"); } |