mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-07-16 13:17:19 +02:00
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:
committed by
Cuong Manh Le
parent
47c280cf1d
commit
a9fabd1b79
+3
-2
@@ -33,8 +33,9 @@ var (
|
||||
mainLog = rootLogger
|
||||
proxyLog = rootLogger
|
||||
|
||||
cdUID string
|
||||
iface string
|
||||
cdUID string
|
||||
iface string
|
||||
ifaceStartStop string
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
Reference in New Issue
Block a user