aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 3c7da1b..675ed84 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -67,6 +67,7 @@ fn configure_link(connection: &Connection, keypair: KeyPair) -> Result<()> {
.apply(&IFNAME.parse().expect("valid link name"), Backend::Kernel)?;
connection.address_add(String::from(IFNAME), INNER_ADDRESS, 24)?;
+ connection.link_set(String::from(IFNAME), true)?;
Ok(())
}