ngrep
ngrep copied to clipboard
Let '-d' handle a device-name too
It's quite confusing to think of an device-index when it comes to WinPcap devices.
This PR allows an argument for option -d
to be either a number (> 0 as before) or
a string starting with \\Device
. Thus supporting both WinPcap and NPcap devices.