Skip to content

Commit

Permalink
Fix scope of route for the gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
PouuleT committed Nov 10, 2016
1 parent e82ce79 commit e8440e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func setLinkRoute(link *netlink.Link) error {
}
log.Debug("Setting a route for the gateway")
err = netlink.RouteAdd(&netlink.Route{
Scope: netlink.SCOPE_UNIVERSE,
Scope: netlink.SCOPE_LINK,
LinkIndex: (*link).Attrs().Index,
Dst: gwaddrNet,
})
Expand Down

0 comments on commit e8440e4

Please sign in to comment.