summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-12-10 15:20:01 +0100
committerThomas Haller <thaller@redhat.com>2018-12-10 15:21:44 +0100
commit6cf183a0e1d7bf07cc45715123f5e8eaa921115b (patch)
tree6bcf7e2d1498afe53836f9c85d5e8a9e544d1d7d /examples
parent29e8f6d5a17c3dbfd11655338cd0ffc61e1fc91b (diff)
downloadNetworkManager-6cf183a0e1d7bf07cc45715123f5e8eaa921115b.tar.gz
examples: fix wrong example configuration in "31-mac-addr-change.conf"
Fixes: b869d9cc0dda4fe5300f5ec5b5a090199ecd4e3e
Diffstat (limited to 'examples')
-rw-r--r--examples/nm-conf.d/31-mac-addr-change.conf7
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/nm-conf.d/31-mac-addr-change.conf b/examples/nm-conf.d/31-mac-addr-change.conf
index 1ae2e0dc12..554b698fbd 100644
--- a/examples/nm-conf.d/31-mac-addr-change.conf
+++ b/examples/nm-conf.d/31-mac-addr-change.conf
@@ -4,8 +4,13 @@
# See man NetworkManager.conf
#
# https://bugzilla.gnome.org/show_bug.cgi?id=777523
-[device-mac-addr-change-wifi]
+[device-31-mac-addr-change]
match-device=driver:rtl8723bs,driver:rtl8189es,driver:r8188eu,driver:eagle_sdio
wifi.scan-rand-mac-address=no
+
+[connection-31-mac-addr-change]
+match-device=driver:rtl8723bs,driver:rtl8189es,driver:r8188eu,driver:eagle_sdio
+# these are per-profile properties. Here we overwrite the default
+# value, but explicitly configuring it in the profile takes precedence.
wifi.cloned-mac-address=preserve
ethernet.cloned-mac-address=preserve