summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-network-gperf.gperf
diff options
context:
space:
mode:
authorSlava Bacherikov <slava@bacher09.org>2021-11-04 17:54:49 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-11-15 17:54:07 +0100
commitaf493fb742bece2cafcdbab9238c711ac9090c9f (patch)
treee40dd3e6eeec3bfc695f435262bbbc5ca34dd0ff /src/network/networkd-network-gperf.gperf
parentnetwork: change link group type to int32 (diff)
downloadsystemd-af493fb742bece2cafcdbab9238c711ac9090c9f.tar.xz
systemd-af493fb742bece2cafcdbab9238c711ac9090c9f.zip
network: Add SuppressInterfaceGroup= into routing policy
This adds SuppressInterfaceGroup= option in the [RoutingPolicyRule] section which has the same semantics as suppress_ifgroup in `ip rule` command.
Diffstat (limited to 'src/network/networkd-network-gperf.gperf')
-rw-r--r--src/network/networkd-network-gperf.gperf1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd-network-gperf.gperf b/src/network/networkd-network-gperf.gperf
index 515a5b5bd9..525d0158bc 100644
--- a/src/network/networkd-network-gperf.gperf
+++ b/src/network/networkd-network-gperf.gperf
@@ -171,6 +171,7 @@ RoutingPolicyRule.DestinationPort, config_parse_routing_policy_rule_po
RoutingPolicyRule.InvertRule, config_parse_routing_policy_rule_invert, 0, 0
RoutingPolicyRule.Family, config_parse_routing_policy_rule_family, 0, 0
RoutingPolicyRule.User, config_parse_routing_policy_rule_uid_range, 0, 0
+RoutingPolicyRule.SuppressInterfaceGroup, config_parse_routing_policy_rule_suppress_ifgroup, 0, 0
RoutingPolicyRule.SuppressPrefixLength, config_parse_routing_policy_rule_suppress_prefixlen, 0, 0
RoutingPolicyRule.Type, config_parse_routing_policy_rule_type, 0, 0
Route.Gateway, config_parse_gateway, 0, 0