diff --git a/net.go b/net.go index ce0f36f..9d7523b 100644 --- a/net.go +++ b/net.go @@ -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, })