aboutsummaryrefslogtreecommitdiff
path: root/src/igd_actor.rs
diff options
context:
space:
mode:
authorLUXEY Adrien <adrien.luxey@inria.fr>2021-08-16 11:19:16 +0200
committerLUXEY Adrien <adrien.luxey@inria.fr>2021-08-16 11:19:16 +0200
commit644e7079562b3218243c98c89b5bcb47c1d1ab48 (patch)
tree572d8192c8dad6266b82536edbcfb1fba1dc75f3 /src/igd_actor.rs
parentae9550ce23bbc85b05669fe5ec4406c8a67417ec (diff)
downloaddiplonat-644e7079562b3218243c98c89b5bcb47c1d1ab48.tar.gz
diplonat-644e7079562b3218243c98c89b5bcb47c1d1ab48.zip
environment.rs successfully replaced with new config/ configuration loader. No API changes, more tests, cleaner code: life is swell.
Diffstat (limited to 'src/igd_actor.rs')
-rw-r--r--src/igd_actor.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/igd_actor.rs b/src/igd_actor.rs
index 68d20df..55d9c5f 100644
--- a/src/igd_actor.rs
+++ b/src/igd_actor.rs
@@ -25,8 +25,8 @@ impl IgdActor {
pub async fn new(priv_ip: &str, refresh: Duration, expire: Duration, rxp: &watch::Receiver<messages::PublicExposedPorts>) -> Result<Self> {
let gw = search_gateway(Default::default())
.await
- .context("Failed to find gateway")?;
- info!("Gateway: {}", gw);
+ .context("Failed to find IGD gateway")?;
+ info!("IGD gateway: {}", gw);
let ctx = Self {
gateway: gw,