]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: update explanations of settings in [NextHop] section
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 9 Feb 2021 06:42:51 +0000 (15:42 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 17 Feb 2021 06:55:37 +0000 (15:55 +0900)
man/systemd.network.xml

index 74ec6a29f189496cd0eada22354ebefac97c4a31..bf6aa80bd29aac421c91ef4baf40667c0155969f 100644 (file)
@@ -1320,16 +1320,26 @@ IPv6Token=prefixstable:2002:da8:1::</programlisting></para>
       hops.</para>
 
       <variablelist class='network-directives'>
+        <varlistentry>
+          <term><varname>Id=</varname></term>
+          <listitem>
+            <para>The id of the next hop. Takes an unsigned integer in the range 1…4294967295. If left
+            unspecified, then automatically chosen by kernel.</para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term><varname>Gateway=</varname></term>
           <listitem>
-            <para>As in the [Network] section. This is mandatory.</para>
+            <para>As in the [Network] section.</para>
           </listitem>
         </varlistentry>
         <varlistentry>
-          <term><varname>Id=</varname></term>
+          <term><varname>Family=</varname></term>
           <listitem>
-            <para>The id of the nexthop (an unsigned integer). If unspecified or '0' then automatically chosen by kernel.</para>
+            <para>Takes one of the special values <literal>ipv4</literal> or <literal>ipv6</literal>.
+            By default, the family is determined by the address specified in
+            <varname>Gateway=</varname>. If <varname>Gateway=</varname> is not specified, then defaults
+            to <literal>ipv4</literal>.</para>
           </listitem>
         </varlistentry>
       </variablelist>