Skip to content

Commit bff77cf

Browse files
committed
log the actual error when failing to add IPv6 route
Signed-off-by: Kamil Domański <[email protected]>
1 parent 92d1fbe commit bff77cf

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)