diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs index bf8248d..e845017 100644 --- a/src/main.rs +++ b/src/main.rs @@ -5,6 +5,7 @@ mod consul_actor; mod igd_actor; mod diplonat; mod fw; +mod fw_actor; use iptables; use log::*; @@ -15,9 +16,6 @@ async fn main() { pretty_env_logger::init(); info!("Starting Diplonat"); - let ipt = iptables::new(false).unwrap(); - fw::setup(&ipt).expect("iptables setup failed"); - let mut diplo = Diplonat::new().await.expect("Setup failed"); diplo.listen().await.expect("A runtime error occured"); } |