added bytes
This commit is contained in:
parent
5594ce639b
commit
97a7403015
@ -462,6 +462,7 @@ impl TunTapPacketHandler for Iface {
|
|||||||
|
|
||||||
let data = header.split_off(14);
|
let data = header.split_off(14);
|
||||||
|
|
||||||
|
debug!("got {} bytes from tun", data.len());
|
||||||
match IpHeaders::from_slice(&data) {
|
match IpHeaders::from_slice(&data) {
|
||||||
Ok((iphdr, _payload)) => {
|
Ok((iphdr, _payload)) => {
|
||||||
//use crate::network::{ArpRequestInfo, ArpResponse, send_arp_request};
|
//use crate::network::{ArpRequestInfo, ArpResponse, send_arp_request};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user