aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimbeerserverDE <himbeerserverde@gmail.com>2024-01-30 18:29:42 +0100
committerHimbeerserverDE <himbeerserverde@gmail.com>2024-01-30 18:29:42 +0100
commit1ba23cc7afe79096af794c57240be8aa1cfa3ee0 (patch)
tree3232d18aa7cb0ce886b965c28151b9ff1ddb4291
parent8b9a325ca13a34158e4fa6f0ef6aef41ddcf1a02 (diff)
debug/test: only call bind_device once
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index e82ac57..021d67d 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();
}
}