From c2467ac7a4d143ad56468ead9736058168047bea Mon Sep 17 00:00:00 2001 From: evilsocket Date: Fri, 16 Feb 2018 13:44:40 +0100 Subject: [PATCH] misc: small fix or general refactoring i did not bother commenting --- modules/wlan_stations.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/wlan_stations.go b/modules/wlan_stations.go index c1f756c6..6527ae31 100644 --- a/modules/wlan_stations.go +++ b/modules/wlan_stations.go @@ -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,