mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
8d2f0af82b
commit
d95373bfa8
6 changed files with 22 additions and 21 deletions
|
@ -378,9 +378,9 @@ func (s *Session) Start() error {
|
|||
|
||||
s.Firewall = firewall.Make(s.Interface)
|
||||
|
||||
s.WiFi = network.NewWiFi(s.Interface, func(st *network.WiFiStation) {
|
||||
s.WiFi = network.NewWiFi(s.Interface, func(st *network.Station) {
|
||||
s.Events.Add("wifi.station.new", st)
|
||||
}, func(st *network.WiFiStation) {
|
||||
}, func(st *network.Station) {
|
||||
s.Events.Add("wifi.station.lost", st)
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue