Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-bonez committed Nov 29, 2024
1 parent 8af5f6d commit def6699
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/startos/src/net/network_interface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ impl NetworkInterfaceController {
Ok(())
})?;
Ok(NetworkInterfaceListener {
arc,
_arc: arc,
ip_info: self.ip_info.subscribe(),
listeners: ListenerMap::new(),
port,
Expand Down Expand Up @@ -381,7 +381,7 @@ pub struct NetworkInterfaceListener {
ip_info: watch::Receiver<BTreeMap<InternedString, NetworkInterfaceInfo>>,
listeners: ListenerMap,
port: u16,
arc: Arc<()>,
_arc: Arc<()>,
}
impl NetworkInterfaceListener {
pub async fn accept(&mut self, public: bool) -> Result<Accepted, Error> {
Expand Down

0 comments on commit def6699

Please sign in to comment.