]> git.ipfire.org Git - thirdparty/systemd.git/commit
network/routing-policy-rule: introduce a generic conf-parser for [RoutingPolicyRule...
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 24 Aug 2024 20:50:27 +0000 (05:50 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 24 Aug 2024 21:19:51 +0000 (06:19 +0900)
commit7f66a94ecfe5e7828ab193134f75d7d93f257f71
tree3034be332610f3eeddf3b575645f6fd9deac2610
parentf7a1e57e1f864c2aa6d77838d3ce3ea6d89be3c6
network/routing-policy-rule: introduce a generic conf-parser for [RoutingPolicyRule] sectin

This introduce config_parse_routing_policy_rule(), which wraps existing
conf parsers. With this, we can drop many custom conf parsers for
[RoutingPolicyRule], and can reuse generic conf parsers in conf-parser.[ch].
src/network/networkd-network-gperf.gperf
src/network/networkd-routing-policy-rule.c
src/network/networkd-routing-policy-rule.h