]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: document that MACAddress= in [Match] section can take multiple MAC addresses
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 9 May 2018 03:00:16 +0000 (12:00 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 9 May 2018 03:00:16 +0000 (12:00 +0900)
man/systemd.link.xml
man/systemd.network.xml

index 6857248ef3225fc675e10e27f42c6494e7dd6f54..dbe625762340f642f31c7838d09f54a3807ba29c 100644 (file)
       <varlistentry>
         <term><varname>MACAddress=</varname></term>
         <listitem>
-          <para>The hardware address.</para>
+          <para>A whitespace-separated list of hardware addresses. Use full colon-, hyphen- or dot-delimited hexadecimal. See the example below.
+          This option may appear more than once, in which case the lists are merged. If the empty string is assigned to this option, the list
+          of hardware addresses defined prior to this is reset.</para>
+
+          <para>Example:
+          <programlisting>MACAddress=01:23:45:67:89:ab 00-11-22-33-44-55 AABB.CCDD.EEFF</programlisting></para>
         </listitem>
       </varlistentry>
       <varlistentry>
index da8b4663b8abd0901e212134541f0663a17a5a51..b52c1ff7e4f02e76a19a1bb924275ace4a7cd9c5 100644 (file)
         <varlistentry>
           <term><varname>MACAddress=</varname></term>
           <listitem>
-            <para>The hardware address of the interface (use full colon-delimited hexadecimal, e.g.,
-            01:23:45:67:89:ab).</para>
+            <para>A whitespace-separated list of hardware addresses. Use full colon-, hyphen- or dot-delimited hexadecimal. See the example below.
+            This option may appear more than one, in which case the lists are merged. If the empty string is assigned to this option, the list
+            of hardware addresses defined prior to this is reset.</para>
+
+            <para>Example:
+            <programlisting>MACAddress=01:23:45:67:89:ab 00-11-22-33-44-55 AABB.CCDD.EEFF</programlisting></para>
           </listitem>
         </varlistentry>
         <varlistentry>