aboutsummaryrefslogtreecommitdiff
path: root/src/diplonat.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/diplonat.rs')
-rw-r--r--src/diplonat.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diplonat.rs b/src/diplonat.rs
index 604227c..a66836a 100644
--- a/src/diplonat.rs
+++ b/src/diplonat.rs
@@ -23,7 +23,7 @@ impl Diplonat {
let fw = FirewallActor::new(rt_cfg.firewall.refresh_time, &ca.rx_open_ports).await?;
let ia = IgdActor::new(
- rt_cfg.igd.private_ip.as_ref().map(String::as_str),
+ rt_cfg.igd.private_ip,
rt_cfg.igd.refresh_time,
rt_cfg.igd.expiration_time,
&ca.rx_open_ports,