]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
netdev: fix parser for VRF.Table=
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 1 Jun 2018 09:38:04 +0000 (18:38 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 2 Jun 2018 09:15:37 +0000 (11:15 +0200)
This effectively reverts f98dd1e70750f09a85d9236ad3621b249ad59629 (#6704).

Fixes #9150.

src/network/netdev/netdev-gperf.gperf

index c0d4375a99083fc5dea0810642f240ff6b18e167..dfcac9adbfc31525cfee203c4864b5957ba709df 100644 (file)
@@ -145,7 +145,7 @@ Bridge.MulticastSnooping,          config_parse_tristate,                0,
 Bridge.VLANFiltering,              config_parse_tristate,                0,                             offsetof(Bridge, vlan_filtering)
 Bridge.STP,                        config_parse_tristate,                0,                             offsetof(Bridge, stp)
 VRF.TableId,                       config_parse_uint32,                  0,                             offsetof(Vrf, table) /* deprecated */
-VRF.Table,                         config_parse_route_table,             0,                             offsetof(Vrf, table)
+VRF.Table,                         config_parse_uint32,                  0,                             offsetof(Vrf, table)
 WireGuard.FwMark,                  config_parse_unsigned,                0,                             offsetof(Wireguard, fwmark)
 WireGuard.ListenPort,              config_parse_wireguard_listen_port,   0,                             offsetof(Wireguard, port)
 WireGuard.PrivateKey,              config_parse_wireguard_private_key,   0,                             0