chore: adjust log
This commit is contained in:
parent
cbacbd7407
commit
302ef3c6f7
1 changed files with 4 additions and 2 deletions
|
@ -1255,8 +1255,10 @@ func parseSniffer(snifferRaw RawSniffer) (*Sniffer, error) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Deprecated: Use Sniff instead
|
if sniffer.Enable {
|
||||||
log.Warnln("Deprecated: Use Sniff instead")
|
// Deprecated: Use Sniff instead
|
||||||
|
log.Warnln("Deprecated: Use Sniff instead")
|
||||||
|
}
|
||||||
globalPorts, err := parsePortRange(snifferRaw.Ports)
|
globalPorts, err := parsePortRange(snifferRaw.Ports)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|
Loading…
Reference in a new issue