networkd: RouteTable option in [IPv6AcceptRA] is now properly processed (#7633)
authorSaran Tunyasuvunakool <saran@saran.in.th>
Thu, 14 Dec 2017 05:11:03 +0000 (05:11 +0000)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 14 Dec 2017 05:11:03 +0000 (14:11 +0900)
Fixes: #7632

src/network/networkd-network-gperf.gperf

index 46eaa81..57a96af 100644 (file)
@@ -129,7 +129,7 @@ DHCP.IAID,                              config_parse_iaid,
 DHCP.ListenPort,                        config_parse_uint16,                            0,                             offsetof(Network, dhcp_client_port)
 IPv6AcceptRA.UseDNS,                    config_parse_bool,                              0,                             offsetof(Network, ipv6_accept_ra_use_dns)
 IPv6AcceptRA.UseDomains,                config_parse_dhcp_use_domains,                  0,                             offsetof(Network, ipv6_accept_ra_use_domains)
-IPv6AcceptRA.RouteTable,                config_parse_dhcp_route_table,                  0,                             offsetof(Network, ipv6_accept_ra_route_table)
+IPv6AcceptRA.RouteTable,                config_parse_uint32,                            0,                             offsetof(Network, ipv6_accept_ra_route_table)
 DHCPServer.MaxLeaseTimeSec,             config_parse_sec,                               0,                             offsetof(Network, dhcp_server_max_lease_time_usec)
 DHCPServer.DefaultLeaseTimeSec,         config_parse_sec,                               0,                             offsetof(Network, dhcp_server_default_lease_time_usec)
 DHCPServer.EmitDNS,                     config_parse_bool,                              0,                             offsetof(Network, dhcp_server_emit_dns)