blob: e8450171c6e3782f8e234d753490fb8515d0253b (
plain) (
tree)
|
|
mod messages;
mod environment;
mod consul;
mod consul_actor;
mod igd_actor;
mod diplonat;
mod fw;
mod fw_actor;
use iptables;
use log::*;
use diplonat::Diplonat;
#[tokio::main]
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");
}
|