summaryrefslogtreecommitdiff
path: root/src/udev/net/link-config-gperf.gperf
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-02-21 14:51:19 +0100
committerTom Gundersen <teg@jklm.no>2014-02-21 16:05:02 +0100
commitedbb03e95a3c31bf719d5c6c46eec14d0bcb9c8f (patch)
tree5f9756ff846f5ed38cea48e5f5060376ed11b769 /src/udev/net/link-config-gperf.gperf
parent7a243b22041595a0c7e0dffb3ef5e2158dde933f (diff)
.network/.netdev/.link: allow to match on architecture
Diffstat (limited to 'src/udev/net/link-config-gperf.gperf')
-rw-r--r--src/udev/net/link-config-gperf.gperf1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/udev/net/link-config-gperf.gperf b/src/udev/net/link-config-gperf.gperf
index ffc1b27a1d..277ceb5386 100644
--- a/src/udev/net/link-config-gperf.gperf
+++ b/src/udev/net/link-config-gperf.gperf
@@ -23,6 +23,7 @@ Match.Type, config_parse_string, 0,
Match.Host, config_parse_net_condition, CONDITION_HOST, offsetof(link_config, match_host)
Match.Virtualization, config_parse_net_condition, CONDITION_VIRTUALIZATION, offsetof(link_config, match_virt)
Match.KernelCommandLine, config_parse_net_condition, CONDITION_KERNEL_COMMAND_LINE, offsetof(link_config, match_kernel)
+Match.Architecture, config_parse_net_condition, CONDITION_ARCHITECTURE, offsetof(link_config, match_arch)
Link.Description, config_parse_string, 0, offsetof(link_config, description)
Link.MACAddressPolicy, config_parse_mac_policy, 0, offsetof(link_config, mac_policy)
Link.MACAddress, config_parse_hwaddr, 0, offsetof(link_config, mac)