From 34715d8b03c64288c0c169a963bd2e466a5a4d98 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Tue, 18 Jun 2019 13:08:20 +0900 Subject: [PATCH] network: make routing_policy_rule_get() require Manager --- src/network/networkd-routing-policy-rule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/networkd-routing-policy-rule.c b/src/network/networkd-routing-policy-rule.c index e4dca830719..420062c647d 100644 --- a/src/network/networkd-routing-policy-rule.c +++ b/src/network/networkd-routing-policy-rule.c @@ -176,7 +176,7 @@ int routing_policy_rule_get(Manager *m, RoutingPolicyRule rule, *existing; - assert_return(m, -1); + assert(m); rule = (RoutingPolicyRule) { .family = family,