This commit is contained in:
crusader 2018-09-21 19:35:23 +09:00
parent e9c4b79b35
commit 099bf25fc2

View File

@ -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