mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-07 18:00:30 +01:00
platform/trivial: fix typo in ip6_route_exists()
By passing INADDR_ANY as a gconstpointer, we actually always passed NULL as gateway. Maybe this was not intended, but it seems correct now and is proven to work. So this fixe has no behavioral change. Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
fad5472b34
commit
68bd8711d2
1 changed files with 1 additions and 1 deletions
|
|
@ -3397,7 +3397,7 @@ static gboolean
|
|||
ip_route_exists (NMPlatform *platform, int family, int ifindex, gpointer network, int plen, int metric)
|
||||
{
|
||||
auto_nl_object struct nl_object *object = build_rtnl_route (
|
||||
family, ifindex, network, plen, INADDR_ANY, metric, 0);
|
||||
family, ifindex, network, plen, NULL, metric, 0);
|
||||
auto_nl_object struct nl_object *cached_object = nl_cache_search (
|
||||
choose_cache (platform, object), object);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue