summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-network-gperf.gperf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/network/networkd-network-gperf.gperf12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/network/networkd-network-gperf.gperf b/src/network/networkd-network-gperf.gperf
index a25370d85c..c7218b6d92 100644
--- a/src/network/networkd-network-gperf.gperf
+++ b/src/network/networkd-network-gperf.gperf
@@ -118,7 +118,7 @@ Network.DefaultRouteOnDevice, config_parse_bool,
Network.LLDP, config_parse_lldp_mode, 0, offsetof(Network, lldp_mode)
Network.EmitLLDP, config_parse_lldp_multicast_mode, 0, offsetof(Network, lldp_multicast_mode)
Network.Address, config_parse_address_section, ADDRESS_ADDRESS, 0
-Network.Gateway, config_parse_gateway, 0, 0
+Network.Gateway, config_parse_route_section, ROUTE_GATEWAY_NETWORK, 0
Network.Domains, config_parse_domains, 0, 0
Network.UseDomains, config_parse_use_domains, 0, offsetof(Network, use_domains)
Network.DNS, config_parse_dns, 0, 0
@@ -195,20 +195,20 @@ RoutingPolicyRule.User, config_parse_routing_policy_rule,
RoutingPolicyRule.SuppressInterfaceGroup, config_parse_routing_policy_rule, ROUTING_POLICY_RULE_SUPPRESS_IFGROUP, 0
RoutingPolicyRule.SuppressPrefixLength, config_parse_routing_policy_rule, ROUTING_POLICY_RULE_SUPPRESS_PREFIXLEN, 0
RoutingPolicyRule.Type, config_parse_routing_policy_rule, ROUTING_POLICY_RULE_ACTION, 0
-Route.Gateway, config_parse_gateway, 0, 0
+Route.Gateway, config_parse_route_section, ROUTE_GATEWAY, 0
Route.Destination, config_parse_destination, 0, 0
Route.Source, config_parse_destination, 0, 0
Route.Metric, config_parse_route_priority, 0, 0
Route.Scope, config_parse_route_scope, 0, 0
Route.PreferredSource, config_parse_preferred_src, 0, 0
Route.Table, config_parse_route_table, 0, 0
-Route.GatewayOnLink, config_parse_route_gateway_onlink, 0, 0
-Route.GatewayOnlink, config_parse_route_gateway_onlink, 0, 0
+Route.GatewayOnLink, config_parse_route_section, ROUTE_GATEWAY_ONLINK, 0
+Route.GatewayOnlink, config_parse_route_section, ROUTE_GATEWAY_ONLINK, 0
Route.IPv6Preference, config_parse_ipv6_route_preference, 0, 0
Route.Protocol, config_parse_route_protocol, 0, 0
Route.Type, config_parse_route_type, 0, 0
-Route.MultiPathRoute, config_parse_multipath_route, 0, 0
-Route.NextHop, config_parse_route_nexthop, 0, 0
+Route.MultiPathRoute, config_parse_route_section, ROUTE_MULTIPATH, 0
+Route.NextHop, config_parse_route_section, ROUTE_NEXTHOP, 0
Route.MTUBytes, config_parse_route_section, ROUTE_METRIC_MTU, 0
Route.TCPAdvertisedMaximumSegmentSize, config_parse_route_section, ROUTE_METRIC_ADVMSS, 0
Route.HopLimit, config_parse_route_section, ROUTE_METRIC_HOPLIMIT, 0