From: Andreas Rammhold Date: Wed, 30 Aug 2017 23:11:16 +0000 (+0200) Subject: networkd: Add `VRF.Table` to support parsing of table names X-Git-Tag: v235~187^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f98dd1e70750f09a85d9236ad3621b249ad59629;p=platform%2Fupstream%2Fsystemd.git networkd: Add `VRF.Table` to support parsing of table names Previously there was only `VRF.TableId` which only supported numeric identifiers for routing table. With the additiona of `config_parse_route_table` also names can be used as identifiers. --- diff --git a/src/network/netdev/netdev-gperf.gperf b/src/network/netdev/netdev-gperf.gperf index 8b235a4..2a9bf2b 100644 --- a/src/network/netdev/netdev-gperf.gperf +++ b/src/network/netdev/netdev-gperf.gperf @@ -134,3 +134,4 @@ 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_id) +VRF.Table, config_parse_route_table, 0, offsetof(Vrf, table_id)