summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/main.go b/main.go
index e03defd..92fb100 100644
--- a/main.go
+++ b/main.go
@@ -48,9 +48,10 @@ func main() {
Poll for changes to the networking settings
*/
func checkNetworkChanges() {
- var ttl int = 3
+ var ttl int = 0
+ var ttlsleep int = 5
for {
- sleep(1)
+ sleep(ttlsleep)
ttl -= 1
if (ttl < 0) {
if (runtime.GOOS == "linux") {