mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 13:09:49 -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 {
|
func NewWirelessStation(essid, mac string, isAp bool, channel int) *WirelessStation {
|
||||||
return &WirelessStation{
|
return &WirelessStation{
|
||||||
Endpoint: network.NewEndpointNoResolve("0.0.0.0", mac, "", 0),
|
Endpoint: network.NewEndpointNoResolve(network.MonitorModeAddress, mac, "", 0),
|
||||||
Essid: essid,
|
Essid: essid,
|
||||||
IsAP: isAp,
|
IsAP: isAp,
|
||||||
Channel: channel,
|
Channel: channel,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue