summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2020-10-23 22:19:16 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2020-10-23 23:07:12 +0900
commitbac319a79569f80930ea10f9e6caefcf23d24f78 (patch)
tree5247c580b35fd04c028f99047e26037bd6d88a36 /src/network
parentb1dc5946e2b1ff52c2aeefb7aadac2b9a0904e52 (diff)
downloadsystemd-bac319a79569f80930ea10f9e6caefcf23d24f78.tar.gz
network: link may be NULL
Diffstat (limited to 'src/network')
-rw-r--r--src/network/networkd-route.c2
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)