Skip to content

Commit

Permalink
Parsing mDNS packet failure: warn -> debug (#1978)
Browse files Browse the repository at this point in the history
Co-authored-by: Roman Borschel <romanb@users.noreply.github.com>
  • Loading branch information
tomaka and romanb authored Feb 25, 2021
1 parent 7dd42fc commit b81100c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions protocols/mdns/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ use futures::{prelude::*, select};
use if_watch::{IfEvent, IfWatcher};
use lazy_static::lazy_static;
use libp2p_core::{multiaddr::{Multiaddr, Protocol}, PeerId};
use log::warn;
use log::debug;
use socket2::{Socket, Domain, Type};
use std::{convert::TryFrom, fmt, io, net::{IpAddr, Ipv4Addr, UdpSocket, SocketAddr}, str, time::{Duration, Instant}};

Expand Down Expand Up @@ -357,7 +357,7 @@ impl MdnsPacket {
}
}
Err(err) => {
warn!("Parsing mdns packet failed: {:?}", err);
debug!("Parsing mdns packet failed: {:?}", err);
None
}
}
Expand Down

0 comments on commit b81100c

Please sign in to comment.