You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On line 82 of sniffer.go
if sniffer.config.Devices[0] == "any" || sniffer.config.Devices[1] == "lo" {
In the current release, multiple devices are not supported, so setting the device configuration to "eth0" triggers an exception on this line. "devices" is always length 1.
I see there are comments elsewhere that suggest that the devices array might be populated in the future, so this might be fixed in a couple different ways along with other changes. Obviously the simple one-line fix is to check the length here.