Skip to content

Commit 10c7fb6

Browse files
authored
Merge pull request #2444 from kdomanski/verbose-ipv6-cannot-add
log the actual error when failing to add IPv6 route
2 parents f5e0618 + bff77cf commit 10c7fb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/bridge/setup_ipv6.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func setupBridgeIPv6(config *networkConfiguration, i *bridgeInterface) error {
7070
Dst: config.AddressIPv6,
7171
})
7272
if err != nil && !os.IsExist(err) {
73-
logrus.Errorf("Could not add route to IPv6 network %s via device %s", config.AddressIPv6.String(), config.BridgeName)
73+
logrus.Errorf("Could not add route to IPv6 network %s via device %s: %s", config.AddressIPv6.String(), config.BridgeName, err)
7474
}
7575

7676
return nil

0 commit comments

Comments
 (0)