projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9ea452
)
networkd: Add `VRF.Table` to support parsing of table names
author
Andreas Rammhold
<andreas@rammhold.de>
Wed, 30 Aug 2017 23:11:16 +0000
(
01:11
+0200)
committer
Andreas Rammhold
<andreas@rammhold.de>
Wed, 30 Aug 2017 23:11:16 +0000
(
01:11
+0200)
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.
src/network/netdev/netdev-gperf.gperf
patch
|
blob
|
history
diff --git
a/src/network/netdev/netdev-gperf.gperf
b/src/network/netdev/netdev-gperf.gperf
index
8b235a4
..
2a9bf2b
100644
(file)
--- 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)