|
|
@ -15,7 +15,7 @@ import (
|
|
|
|
// This is particularly useful because certain conditions can cause indefinite hangs
|
|
|
|
// This is particularly useful because certain conditions can cause indefinite hangs
|
|
|
|
// (such as improper dbus auth followed by contextless dbus.Object.Call).
|
|
|
|
// (such as improper dbus auth followed by contextless dbus.Object.Call).
|
|
|
|
// Such operations should be wrapped in a timeout context.
|
|
|
|
// Such operations should be wrapped in a timeout context.
|
|
|
|
const reconfigTimeout = time.Second
|
|
|
|
const reconfigTimeout = time.Second //lint:ignore U1000 used on Linux at least, maybe others later
|
|
|
|
|
|
|
|
|
|
|
|
type managerImpl interface {
|
|
|
|
type managerImpl interface {
|
|
|
|
// Up updates system DNS settings to match the given configuration.
|
|
|
|
// Up updates system DNS settings to match the given configuration.
|
|
|
|