aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index d72da59..79a55cb 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -29,7 +29,10 @@ fn main() -> Result<()> {
}
run("eth0".into(), 0)?;
- Ok(())
+
+ loop {
+ thread::sleep(Duration::MAX);
+ }
}
fn run(link: String, subnet_id: u8) -> Result<()> {