From 09a35eabd0288d109d242a1d3190fa604045efba Mon Sep 17 00:00:00 2001 From: worker-9 Date: Fri, 6 Aug 2021 12:32:41 -0400 Subject: [PATCH] fixed roaming and ip forwarding default --- models/node.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/node.go b/models/node.go index ace588ad..be1b633f 100644 --- a/models/node.go +++ b/models/node.go @@ -77,7 +77,7 @@ func (node *Node) SetDefaultAction() { func (node *Node) SetRoamingDefault() { if node.Roaming == "" { - node.Roaming = "no" + node.Roaming = "yes" } } @@ -89,7 +89,7 @@ func (node *Node) SetPullChangesDefault() { func (node *Node) SetIPForwardingDefault() { if node.IPForwarding == "" { - node.IPForwarding = "no" + node.IPForwarding = "yes" } }