Merge pull request #589 from gravitl/hotfix_v0.9.3_freebsd_mac_builds

Hotfix v0.9.3 freebsd mac builds
This commit is contained in:
dcarns 2022-01-06 15:58:11 -05:00 committed by GitHub
commit 685689df1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -35,7 +35,7 @@ func GetEmbedded() error {
}
// CreateWireGuardConf - creates a WireGuard conf string
func CreateWireGuardConf(node *models.Node, privatekey string, listenPort string, dns string, peers []wgtypes.PeerConfig) (string, error) {
func CreateWireGuardConf(node *models.Node, privatekey string, listenPort string, peers []wgtypes.PeerConfig) (string, error) {
peersString, err := parsePeers(node.PersistentKeepalive, peers)
var listenPortString string
if node.MTU <= 0 {

View file

@ -44,7 +44,7 @@ func RunCmd(command string, printerr bool) (string, error) {
}
// CreateWireGuardConf - creates a WireGuard conf string
func CreateWireGuardConf(node *models.Node, privatekey string, listenPort string, dns string, peers []wgtypes.PeerConfig) (string, error) {
func CreateWireGuardConf(node *models.Node, privatekey string, listenPort string, peers []wgtypes.PeerConfig) (string, error) {
peersString, err := parsePeers(node.PersistentKeepalive, peers)
var listenPortString string
if node.MTU <= 0 {

View file

@ -49,7 +49,7 @@ func RunCmdFormatted(command string, printerr bool) (string, error) {
}
// CreateWireGuardConf - creates a WireGuard conf string
func CreateWireGuardConf(node *models.Node, privatekey string, listenPort string, dns string, peers []wgtypes.PeerConfig) (string, error) {
func CreateWireGuardConf(node *models.Node, privatekey string, listenPort string, peers []wgtypes.PeerConfig) (string, error) {
peersString, err := parsePeers(node.PersistentKeepalive, peers)
var listenPortString string
if node.MTU <= 0 {