diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-10-23 22:19:16 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-10-23 23:07:12 +0900 |
commit | bac319a79569f80930ea10f9e6caefcf23d24f78 (patch) | |
tree | 5247c580b35fd04c028f99047e26037bd6d88a36 /src/network | |
parent | b1dc5946e2b1ff52c2aeefb7aadac2b9a0904e52 (diff) | |
download | systemd-bac319a79569f80930ea10f9e6caefcf23d24f78.tar.gz |
network: link may be NULL
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/networkd-route.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-route.c b/src/network/networkd-route.c index dd05e11067..075799a7f0 100644 --- a/src/network/networkd-route.c +++ b/src/network/networkd-route.c @@ -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) |