From 74601abcdd2a77882f6d627b08e45f5b534007e0 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Sun, 25 Aug 2024 05:31:03 +0900 Subject: network/routing-policy-rule: merge two conf parsers Both conf parsers takes an integer. Only difference is the maximum value. Let's merge them, and pass the maximum value through ltype. --- src/network/networkd-routing-policy-rule.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/network/networkd-routing-policy-rule.h') diff --git a/src/network/networkd-routing-policy-rule.h b/src/network/networkd-routing-policy-rule.h index 6882afc3e7..cefab3cd79 100644 --- a/src/network/networkd-routing-policy-rule.h +++ b/src/network/networkd-routing-policy-rule.h @@ -87,8 +87,7 @@ CONFIG_PARSER_PROTOTYPE(config_parse_routing_policy_rule_l3mdev); CONFIG_PARSER_PROTOTYPE(config_parse_routing_policy_rule_port_range); CONFIG_PARSER_PROTOTYPE(config_parse_routing_policy_rule_prefix); CONFIG_PARSER_PROTOTYPE(config_parse_routing_policy_rule_priority); -CONFIG_PARSER_PROTOTYPE(config_parse_routing_policy_rule_suppress_ifgroup); -CONFIG_PARSER_PROTOTYPE(config_parse_routing_policy_rule_suppress_prefixlen); +CONFIG_PARSER_PROTOTYPE(config_parse_routing_policy_rule_suppress); CONFIG_PARSER_PROTOTYPE(config_parse_routing_policy_rule_table); CONFIG_PARSER_PROTOTYPE(config_parse_routing_policy_rule_tos); CONFIG_PARSER_PROTOTYPE(config_parse_routing_policy_rule_type); -- cgit v1.2.3