mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
fix: fixes a bug on macOS with non printable characters in ESSID (ref #61)
This commit is contained in:
parent
38faff29d5
commit
b62b44dd42
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ func cleanESSID(essid string) string {
|
|||
|
||||
func NewStation(essid, bssid string, frequency int, rssi int8) *Station {
|
||||
return &Station{
|
||||
Endpoint: NewEndpointNoResolve(MonitorModeAddress, bssid, essid, 0),
|
||||
Endpoint: NewEndpointNoResolve(MonitorModeAddress, bssid, cleanESSID(essid), 0),
|
||||
Frequency: frequency,
|
||||
RSSI: rssi,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue