Skip to content

Commit

Permalink
remove wrong use of socket.
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-weqe committed Jul 4, 2024
1 parent 9473787 commit b826aec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions holo-vrrp/src/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ use std::net::{IpAddr, SocketAddrV4, Ipv4Addr};
use std::os::fd::FromRawFd;
use std::sync::Arc;

use holo_utils::socket::AsyncFd;
use holo_utils::socket::{AsyncFd, Socket};
use holo_utils::{capabilities, Sender, UnboundedReceiver};
use libc::{socket, AF_PACKET, ETH_P_ALL, ETH_P_ARP, SOCK_RAW};
use socket2::{Domain, Protocol, Type, Socket};
use socket2::{Domain, Protocol, Type};
use tokio::sync::mpsc::error::SendError;

use crate::error::IoError;
Expand Down

0 comments on commit b826aec

Please sign in to comment.