mirror of
https://github.com/daeuniverse/dae.git
synced 2025-07-08 23:08:50 +07:00
fix: Workaround UDP port conflicts when another local process binds 53 (#414)
This commit is contained in:
@ -268,10 +268,11 @@ loop:
|
||||
break loop
|
||||
}
|
||||
}
|
||||
defer os.Remove(PidFilePath)
|
||||
defer control.GetDaeNetns().Close()
|
||||
if e := c.Close(); e != nil {
|
||||
return fmt.Errorf("close control plane: %w", e)
|
||||
}
|
||||
_ = os.Remove(PidFilePath)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user