fix: do not trigger deauth events for frames sent by client stations or unknown access points

This commit is contained in:
Simone Margaritelli 2021-04-10 14:48:30 +02:00
commit 88a83192ef
3 changed files with 19 additions and 7 deletions

View file

@ -10,11 +10,12 @@ type ClientEvent struct {
}
type DeauthEvent struct {
RSSI int8 `json:"rssi"`
Address1 string `json:"address1"`
Address2 string `json:"address2"`
Address3 string `json:"address3"`
Reason string `json:"reason"`
RSSI int8 `json:"rssi"`
AP *network.AccessPoint `json:"ap"`
Address1 string `json:"address1"`
Address2 string `json:"address2"`
Address3 string `json:"address3"`
Reason string `json:"reason"`
}
type ProbeEvent struct {