rust-pcap / pcap

Rust language pcap library
Apache License 2.0
620 stars 144 forks source link

It seems that I can only get the file traffic #174

Closed SWBMESSI closed 3 years ago

SWBMESSI commented 3 years ago

let dev = Device{ name:String::from("en0"), desc:Some(String::from("NULL")), };

let mut cap = Capture::from_device(dev).unwrap()
                  .open().unwrap();

macOS 11.2.2 (20D80) image

stappersg commented 3 years ago

Please elaborate.