]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: netdev: Clarify wireguard IPv6 endpoint format
authorSorah Fukumori <her@sorah.jp>
Thu, 6 Apr 2023 19:15:43 +0000 (04:15 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 6 Apr 2023 23:15:34 +0000 (08:15 +0900)
man/systemd.netdev.xml

index b71cedfa269e87ea983e1a021eab5d68ffc18779..ca0eefdc07576675dfd899778d9b5a929e2cdfbe 100644 (file)
         <term><varname>Endpoint=</varname></term>
         <listitem>
           <para>Sets an endpoint IP address or hostname, followed by a colon, and then
-          a port number. This endpoint will be updated automatically once to
+          a port number. IPv6 address must be in the square brackets. For example,
+          <literal>111.222.333.444:51820</literal> for IPv4 and <literal>[1111:2222::3333]:51820</literal>
+          for IPv6 address. This endpoint will be updated automatically once to
           the most recent source IP address and port of correctly
           authenticated packets from the peer at configuration time.</para>
         </listitem>