mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 13:09:49 -07:00
fix: fixes cgo newline
This commit is contained in:
parent
9cd1609306
commit
6951fbb8dd
1 changed files with 1 additions and 2 deletions
|
|
@ -8,7 +8,6 @@ package network
|
||||||
const char *GetSupportedFrequencies(const char *iface);
|
const char *GetSupportedFrequencies(const char *iface);
|
||||||
bool SetInterfaceChannel(const char *iface, int channel);
|
bool SetInterfaceChannel(const char *iface, int channel);
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import "C"
|
import "C"
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
|
|
@ -52,4 +51,4 @@ func GetSupportedFrequencies(iface string) ([]int, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
return frequencies, nil
|
return frequencies, nil
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue