aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimbeerserverDE <himbeerserverde@gmail.com>2024-01-30 18:35:24 +0100
committerHimbeerserverDE <himbeerserverde@gmail.com>2024-01-30 18:35:24 +0100
commita71a578927dd73b37ae60ded20445a3a5243fc1a (patch)
tree37d82ea77acd5a28eb3830bc2d3417481dd66825
parent1ba23cc7afe79096af794c57240be8aa1cfa3ee0 (diff)
Revert "debug/test: only call bind_device once"
This reverts commit 1ba23cc7afe79096af794c57240be8aa1cfa3ee0.
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 021d67d..e82ac57 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -164,13 +164,13 @@ async fn main() -> Result<()> {
Some(ds_config) if ds_config.v6.is_some() => {
println!("[info] <> ipv6 link up");
- // sock.bind_device(Some(INTERFACE.as_bytes()))?;
+ sock.bind_device(Some(INTERFACE.as_bytes()))?;
dhcp6c.up();
}
_ => {
println!("[info] <> ipv6 link down");
- // sock.bind_device(None)?;
+ sock.bind_device(None)?;
dhcp6c.down();
}
}