network: automatically pick an address on link when L2TP.Local= is not specified
This makes L2TP.Local= support an empty string, 'auto', 'static', and 'dynamic'. When one of the values are specified, a local address is automatically picked from the local interface of the tunnel.
This commit is contained in:
@@ -772,7 +772,12 @@
|
||||
<varlistentry>
|
||||
<term><varname>Local=</varname></term>
|
||||
<listitem>
|
||||
<para>Specifies the IP address of the local interface. This address must be the address of a local interface. This option is compulsory.</para>
|
||||
<para>Specifies the IP address of the local interface. Takes an IP address, or the special values
|
||||
<literal>auto</literal>, <literal>static</literal>, or <literal>dynamic</literal>. When an address
|
||||
is set, then the local interface must have the address. If <literal>auto</literal>, then one of the
|
||||
addresses on the local interface is used. Similarly, if <literal>static</literal> or
|
||||
<literal>dynamic</literal> is set, then one of the static or dynamic addresses on the local
|
||||
interface is used. Defaults to <literal>auto</literal>.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
|
||||
Reference in New Issue
Block a user