teknoraver / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone

Blame 0054-man-systemd.link-explain-random-MAC-addresses.patch

Zbigniew Jędrzejewski-Szmek 436654
From 928b84917139e42611ea1b71ab8b35bf20d2627b Mon Sep 17 00:00:00 2001
Zbigniew Jędrzejewski-Szmek 436654
From: Tom Gundersen <teg@jklm.no>
Zbigniew Jędrzejewski-Szmek 436654
Date: Mon, 8 Jun 2015 22:30:59 +0200
Zbigniew Jędrzejewski-Szmek 436654
Subject: [PATCH] man: systemd.link - explain random MAC addresses
Zbigniew Jędrzejewski-Szmek 436654
Zbigniew Jędrzejewski-Szmek 436654
Two of the bits in the MAC address are set unconditioanlly, and the rest is randomized,
Zbigniew Jędrzejewski-Szmek 436654
make this clear in the documentation (as it currently read as if it was all random).
Zbigniew Jędrzejewski-Szmek 436654
Zbigniew Jędrzejewski-Szmek 436654
(cherry picked from commit 2e229e0c4c29e8a827be9ffe361741cf5e9aa7af)
Zbigniew Jędrzejewski-Szmek 436654
---
Zbigniew Jędrzejewski-Szmek 436654
 man/systemd.link.xml | 4 +++-
Zbigniew Jędrzejewski-Szmek 436654
 1 file changed, 3 insertions(+), 1 deletion(-)
Zbigniew Jędrzejewski-Szmek 436654
Zbigniew Jędrzejewski-Szmek 436654
diff --git a/man/systemd.link.xml b/man/systemd.link.xml
Zbigniew Jędrzejewski-Szmek 436654
index 3fac760b01..d9b1879c59 100644
Zbigniew Jędrzejewski-Szmek 436654
--- a/man/systemd.link.xml
Zbigniew Jędrzejewski-Szmek 436654
+++ b/man/systemd.link.xml
Zbigniew Jędrzejewski-Szmek 436654
@@ -229,7 +229,9 @@
Zbigniew Jędrzejewski-Szmek 436654
                 <para>If the kernel is using a random MAC address,
Zbigniew Jędrzejewski-Szmek 436654
                 nothing is done. Otherwise, a new address is randomly
Zbigniew Jędrzejewski-Szmek 436654
                 generated each time the device appears, typically at
Zbigniew Jędrzejewski-Szmek 436654
-                boot.</para>
Zbigniew Jędrzejewski-Szmek 436654
+                boot. Either way the random address will have the
Zbigniew Jędrzejewski-Szmek 436654
+                <literal>unicast</literal> and
Zbigniew Jędrzejewski-Szmek 436654
+                <literal>locally administered</literal> bits set.</para>
Zbigniew Jędrzejewski-Szmek 436654
               </listitem>
Zbigniew Jędrzejewski-Szmek 436654
             </varlistentry>
Zbigniew Jędrzejewski-Szmek 436654
           </variablelist>