mirror of
https://github.com/systemd/systemd.git
synced 2025-01-28 21:47:38 +03:00
network: link may be NULL
This commit is contained in:
parent
b1dc5946e2
commit
bac319a795
@ -701,7 +701,7 @@ int route_remove(
|
||||
return log_link_error_errno(link, r, "Could not append RTA_OIF attribute: %m");
|
||||
}
|
||||
|
||||
r = netlink_call_async(link->manager->rtnl, NULL, req,
|
||||
r = netlink_call_async(manager->rtnl, NULL, req,
|
||||
callback ?: route_remove_handler,
|
||||
link_netlink_destroy_callback, link);
|
||||
if (r < 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user