mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
log the actual error when failing to add IPv6 route
Signed-off-by: Kamil Domański <kamil@domanski.co>
This commit is contained in:
parent
b8f02469bc
commit
27fc6e9bae
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ func setupBridgeIPv6(config *networkConfiguration, i *bridgeInterface) error {
|
|||
Dst: config.AddressIPv6,
|
||||
})
|
||||
if err != nil && !os.IsExist(err) {
|
||||
logrus.Errorf("Could not add route to IPv6 network %s via device %s", config.AddressIPv6.String(), config.BridgeName)
|
||||
logrus.Errorf("Could not add route to IPv6 network %s via device %s: %s", config.AddressIPv6.String(), config.BridgeName, err)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
Loading…
Add table
Reference in a new issue