summaryrefslogtreecommitdiff
path: root/src/network/networkd-gperf.gperf
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-01-22 14:49:24 +0100
committerTom Gundersen <teg@jklm.no>2014-01-25 11:25:17 +0100
commit54abf461d6b10dc270c4bb2aeac65f240ff1c5cd (patch)
tree5589a8c4ac8b3245c7e2e816bbac6c8bf42bca9e /src/network/networkd-gperf.gperf
parent168a3f602fa2250dc0d0aab140ab91945d5f6efa (diff)
networkd: add basic VLAN support
Diffstat (limited to 'src/network/networkd-gperf.gperf')
-rw-r--r--src/network/networkd-gperf.gperf2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/networkd-gperf.gperf b/src/network/networkd-gperf.gperf
index 7181cf856a..aff23bb55d 100644
--- a/src/network/networkd-gperf.gperf
+++ b/src/network/networkd-gperf.gperf
@@ -23,6 +23,7 @@ Match.Name, config_parse_ifname, 0, offsetof(Networ
Network.Description, config_parse_string, 0, offsetof(Network, description)
Network.Bridge, config_parse_bridge, 0, offsetof(Network, bridge)
Network.Bond, config_parse_bond, 0, offsetof(Network, bond)
+Network.VLAN, config_parse_vlan, 0, offsetof(Network, vlan)
Network.DHCP, config_parse_bool, 0, offsetof(Network, dhcp)
Network.Address, config_parse_address, 0, 0
Network.Gateway, config_parse_gateway, 0, 0
@@ -38,3 +39,4 @@ DHCPv4.UseDomainName, config_parse_bool, 0, offsetof(Networ
Netdev.Description, config_parse_string, 0, offsetof(Netdev, description)
Netdev.Name, config_parse_ifname, 0, offsetof(Netdev, name)
Netdev.Kind, config_parse_netdev_kind, 0, offsetof(Netdev, kind)
+VLAN.Id, config_parse_int, 0, offsetof(Netdev, vlanid)