ing
This commit is contained in:
parent
1aa43cf403
commit
bf6b3901c2
|
@ -3,6 +3,7 @@ package session
|
|||
import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"log"
|
||||
"net"
|
||||
"strconv"
|
||||
"sync"
|
||||
|
@ -176,6 +177,9 @@ func (ds *ofDiscoverySession) InitWithRequest(request types.DiscoveryRequest) er
|
|||
_pCapScanner := pcap.NewPCapScanner(ds.zone)
|
||||
if err := _pCapScanner.Start(); nil == err {
|
||||
ds.pCapScanner = _pCapScanner
|
||||
log.Print("Privileged mode")
|
||||
} else {
|
||||
log.Print("Unprivileged mode")
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
Loading…
Reference in New Issue
Block a user