mirror of
https://github.com/bettercap/bettercap
synced 2025-07-06 04:52:10 -07:00
fix: fixed net.sniff stats output for local packets flag
This commit is contained in:
parent
69b3daa5b9
commit
7a2ecb15f6
1 changed files with 2 additions and 1 deletions
|
@ -127,7 +127,8 @@ var (
|
||||||
)
|
)
|
||||||
|
|
||||||
func (c *SnifferContext) Log(sess *session.Session) {
|
func (c *SnifferContext) Log(sess *session.Session) {
|
||||||
log.Info("Skip local packets : %s", yn[c.DumpLocal])
|
log.Info("Interface : %s", tui.Bold(c.Interface))
|
||||||
|
log.Info("Skip local packets : %s", yn[!c.DumpLocal])
|
||||||
log.Info("Verbose : %s", yn[c.Verbose])
|
log.Info("Verbose : %s", yn[c.Verbose])
|
||||||
log.Info("BPF Filter : '%s'", tui.Yellow(c.Filter))
|
log.Info("BPF Filter : '%s'", tui.Yellow(c.Filter))
|
||||||
log.Info("Regular expression : '%s'", tui.Yellow(c.Expression))
|
log.Info("Regular expression : '%s'", tui.Yellow(c.Expression))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue