diff options
author | Tom Gundersen <teg@jklm.no> | 2015-02-09 16:22:34 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-02-09 16:53:54 +0100 |
commit | 769b56a308c3f3d3952eda87fd4fb004207f4f49 (patch) | |
tree | 92b070e47c90f30dcc6131d21cf09606eedf73bb /src/network/networkd-network-gperf.gperf | |
parent | e2acdb6b0f68d9b4152708a9f21bf9e11f8b9e7e (diff) |
networkd: support route scopes
For now we only support the hardcoded values RT_SCOPE_{UNIVERSE,LOCAL,HOST},
and not numerical values or values from /etc/iproute2/rt_scopes.
This addresses https://bugs.freedesktop.org/show_bug.cgi?id=88508.
Diffstat (limited to 'src/network/networkd-network-gperf.gperf')
-rw-r--r-- | src/network/networkd-network-gperf.gperf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd-network-gperf.gperf b/src/network/networkd-network-gperf.gperf index 6f295488bd..1731e04228 100644 --- a/src/network/networkd-network-gperf.gperf +++ b/src/network/networkd-network-gperf.gperf @@ -56,6 +56,7 @@ Route.Gateway, config_parse_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 DHCP.UseDNS, config_parse_bool, 0, offsetof(Network, dhcp_dns) DHCP.UseMTU, config_parse_bool, 0, offsetof(Network, dhcp_mtu) DHCP.UseHostname, config_parse_bool, 0, offsetof(Network, dhcp_hostname) |