diff options
author | Jake McGinty <me@jake.su> | 2018-02-22 18:52:04 +0000 |
---|---|---|
committer | Jake McGinty <me@jake.su> | 2018-02-22 18:52:04 +0000 |
commit | 1f4b0974a1a9ff96f317c5e0dc316edd0183fd17 (patch) | |
tree | 0be06c99698b640b40315f614571cb5b4df40739 /src/ip_packet.rs | |
parent | fix benchmark compilation (diff) | |
download | wireguard-rs-1f4b0974a1a9ff96f317c5e0dc316edd0183fd17.tar.xz wireguard-rs-1f4b0974a1a9ff96f317c5e0dc316edd0183fd17.zip |
pnet -> pnet_packet
no need to import the whole thing.
Diffstat (limited to 'src/ip_packet.rs')
-rw-r--r-- | src/ip_packet.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ip_packet.rs b/src/ip_packet.rs index ad67f3f..1f73888 100644 --- a/src/ip_packet.rs +++ b/src/ip_packet.rs @@ -1,5 +1,5 @@ -use pnet::packet::ipv4::Ipv4Packet; -use pnet::packet::ipv6::Ipv6Packet; +use pnet_packet::ipv4::Ipv4Packet; +use pnet_packet::ipv6::Ipv6Packet; use std::net::IpAddr; pub enum IpPacket<'a> { |