ing
This commit is contained in:
parent
e9c4b79b35
commit
099bf25fc2
|
@ -75,7 +75,7 @@ func (ps *pCapScan) Start() error {
|
|||
// new pcap handle
|
||||
var h *pcap.Handle
|
||||
var err error
|
||||
if h, err = pcap.OpenLive(ps.zone.Iface, 65536, true, pcap.BlockForever); nil != err {
|
||||
if h, err = pcap.OpenLive(ps.zone.Iface, 65536, false, pcap.BlockForever); nil != err {
|
||||
return err
|
||||
}
|
||||
// set filter
|
||||
|
|
Loading…
Reference in New Issue
Block a user