mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-07-16 13:17:19 +02:00
fix: restore DNS during invalid-device uninstall
This commit is contained in:
committed by
Cuong Manh Le
parent
5ef0a59081
commit
265573c744
@@ -24,7 +24,7 @@ func (sc *ServiceCommand) Stop(cmd *cobra.Command, args []string) error {
|
||||
|
||||
p.cfg = &cfg
|
||||
if iface == "" {
|
||||
iface = "auto"
|
||||
iface = autoIface
|
||||
}
|
||||
p.preRun()
|
||||
if ir := runningIface(s); ir != nil {
|
||||
|
||||
Reference in New Issue
Block a user