mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #2563 from thaJeztah/no_error
log error instead if disabling IPv6 router advertisement failed
This commit is contained in:
commit
c37654e9d3
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ func setupDefaultSysctl(config *networkConfiguration, i *bridgeInterface) error
|
|||
return nil
|
||||
}
|
||||
if err := ioutil.WriteFile(sysPath, []byte{'0', '\n'}, 0644); err != nil {
|
||||
return fmt.Errorf("libnetwork: Unable to disable IPv6 router advertisement: %v", err)
|
||||
logrus.WithError(err).Warn("unable to disable IPv6 router advertisement")
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue