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
b201a95370
commit
c2467ac7a4
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ type WiFi struct {
|
|||
|
||||
func NewWirelessStation(essid, mac string, isAp bool, channel int) *WirelessStation {
|
||||
return &WirelessStation{
|
||||
Endpoint: network.NewEndpointNoResolve("0.0.0.0", mac, "", 0),
|
||||
Endpoint: network.NewEndpointNoResolve(network.MonitorModeAddress, mac, "", 0),
|
||||
Essid: essid,
|
||||
IsAP: isAp,
|
||||
Channel: channel,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue