diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2009-08-16 21:12:04 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2009-08-16 21:12:04 +0200 |
commit | c8663095e327e8c2859ac348ed75890a0102244e (patch) | |
tree | c579c9fec7bea70762711d141604dcf8402e5371 /extras | |
parent | 79f3b4a161947a795537af2ece7b91669d0567f9 (diff) |
rule_generator: net - fix MATCHDEVID
This got lost for some reason with an earlier change.
Thanks to Marco d'Itri <md@linux.it> for noticing.
Diffstat (limited to 'extras')
-rw-r--r-- | extras/rule_generator/75-persistent-net-generator.rules | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/extras/rule_generator/75-persistent-net-generator.rules b/extras/rule_generator/75-persistent-net-generator.rules index 2583e22fce..a9dfdce7a5 100644 --- a/extras/rule_generator/75-persistent-net-generator.rules +++ b/extras/rule_generator/75-persistent-net-generator.rules @@ -55,6 +55,9 @@ ENV{MATCHADDR}=="52:54:ab:*", GOTO="globally_administered_whitelist" # Kingston Technologies ENV{MATCHADDR}=="e2:0c:0f:*", GOTO="globally_administered_whitelist" +# match interface dev_id +ATTR{dev_id}=="?*", ENV{MATCHDEVID}="$attr{dev_id}" + # do not use "locally administered" MAC address ENV{MATCHADDR}=="?[2367abef]:*", ENV{MATCHADDR}="" |