mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 13:33:21 -07:00
commit
fef32192be
1 changed files with 0 additions and 2 deletions
|
@ -67,8 +67,6 @@ func NewWiFi(iface *Endpoint, aliases *data.UnsortedKV, newcb APNewCallback, los
|
||||||
}
|
}
|
||||||
|
|
||||||
func (w *WiFi) MarshalJSON() ([]byte, error) {
|
func (w *WiFi) MarshalJSON() ([]byte, error) {
|
||||||
w.RLock()
|
|
||||||
defer w.RUnlock()
|
|
||||||
|
|
||||||
doc := wifiJSON{
|
doc := wifiJSON{
|
||||||
// we know the length so preallocate to reduce memory allocations
|
// we know the length so preallocate to reduce memory allocations
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue