Is it possible to tell packetcapr interface where to capture traffic ?
If system has several interfaces and one of them with anycast IP, I would like to be able to pass interface name as an option. I have to trick it with interface naming on system level, it would be cool to have that as an option.
I'm not rust expert but as I can see, the logic of interface selection located here
|
let main_device = Device::lookup().unwrap(); |
Thanks.