Skip to content

Commit 026aaba

Browse files
authored
Merge pull request #2567 from thaJeztah/19.03_backport_no_error
[19.03 backport] log error instead if disabling IPv6 router advertisement failed
2 parents 86d159c + 8565f0b commit 026aaba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/bridge/setup_device.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func setupDefaultSysctl(config *networkConfiguration, i *bridgeInterface) error
6363
return nil
6464
}
6565
if err := ioutil.WriteFile(sysPath, []byte{'0', '\n'}, 0644); err != nil {
66-
return fmt.Errorf("libnetwork: Unable to disable IPv6 router advertisement: %v", err)
66+
logrus.WithError(err).Warn("unable to disable IPv6 router advertisement")
6767
}
6868
return nil
6969
}

0 commit comments

Comments
 (0)