Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xmh0511 committed Sep 12, 2024
1 parent f08bd44 commit 36e8e4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/async/unix_device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@ impl AbstractDevice for AsyncDevice {
fn destination(&self) -> crate::Result<IpAddr> {
self.inner.get_ref().destination()
}
#[cfg(any(target_os = "linux"))]
#[cfg(target_os = "linux")]
fn broadcast(&self) -> crate::Result<IpAddr> {
self.inner.get_ref().broadcast()
}
#[cfg(any(target_os = "linux"))]
#[cfg(target_os = "linux")]
fn set_broadcast<A: crate::IntoAddress>(&self, value: A) -> crate::Result<()> {
self.inner.get_ref().set_broadcast(value)
}
Expand Down

0 comments on commit 36e8e4c

Please sign in to comment.