cmd/ctrld: separate iface variable for start/stop aliases

While at it, also fix a bug in getDNSByResolvectl, which won't return
correct DNS values if there's no "%" symbol in output.
This commit is contained in:
Cuong Manh Le
2023-01-19 22:44:32 +07:00
committed by Cuong Manh Le
parent 47c280cf1d
commit a9fabd1b79
3 changed files with 9 additions and 9 deletions
+3 -2
View File
@@ -33,8 +33,9 @@ var (
mainLog = rootLogger
proxyLog = rootLogger
cdUID string
iface string
cdUID string
iface string
ifaceStartStop string
)
func main() {