cmd/ctrld: do set/reset DNS only when start/stop/uninstall

This commit is contained in:
Cuong Manh Le
2023-01-31 11:03:50 +07:00
committed by Cuong Manh Le
parent 4ea1e64795
commit 149941f17f
6 changed files with 89 additions and 58 deletions
-2
View File
@@ -3,7 +3,6 @@ package main
import (
"fmt"
"io"
"net"
"os"
"path/filepath"
"time"
@@ -36,7 +35,6 @@ var (
cdUID string
iface string
netIface *net.Interface
ifaceStartStop string
)