diff options
Diffstat (limited to 'libs/hbb_common/src/udp.rs')
-rw-r--r-- | libs/hbb_common/src/udp.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/hbb_common/src/udp.rs b/libs/hbb_common/src/udp.rs index 54ef8bd..bb0d071 100644 --- a/libs/hbb_common/src/udp.rs +++ b/libs/hbb_common/src/udp.rs @@ -54,7 +54,8 @@ impl FramedSocket { reuse: bool, buf_size: usize, ) -> ResultType<Self> { - let addr = lookup_host(&addr).await? + let addr = lookup_host(&addr) + .await? .next() .context("could not resolve to any address")?; Ok(Self::Direct(UdpFramed::new( |