mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
fix: minor fix to log line
This commit is contained in:
parent
bfbb9dd016
commit
d7d9711457
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ func (s *Session) Start() error {
|
|||
}
|
||||
|
||||
if s.Gateway, err = net.FindGateway(s.Interface); err != nil {
|
||||
s.Events.Log(WARNING, "%s", err)
|
||||
s.Events.Log(WARNING, "%s", err.Error())
|
||||
}
|
||||
|
||||
if s.Gateway == nil || s.Gateway.IpAddress == s.Interface.IpAddress {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue