mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 13:09:49 -07:00
balls
This commit is contained in:
parent
d22ce9b6dd
commit
4b575bc7f1
1 changed files with 2 additions and 1 deletions
|
@ -207,7 +207,8 @@ func (s *Session) Start() error {
|
||||||
s.Env.Set("iface.mac", s.Interface.HwAddress)
|
s.Env.Set("iface.mac", s.Interface.HwAddress)
|
||||||
|
|
||||||
if s.Queue, err = packets.NewQueue(s.Interface); err != nil {
|
if s.Queue, err = packets.NewQueue(s.Interface); err != nil {
|
||||||
return fmt.Errorf("Error while creating packet queue: %s", err)
|
fmt.Printf("iface = '%s'\n", s.Interface.Name())
|
||||||
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
if s.Gateway, err = net.FindGateway(s.Interface); err != nil {
|
if s.Gateway, err = net.FindGateway(s.Interface); err != nil {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue