1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00

network: rename WireGuard.FwMark -> FirewallMark

For the consistency with FirewallMark= in [RoutingPolicyRule] section.
This commit is contained in:
Yu Watanabe 2019-05-04 16:21:43 +02:00
parent 6450ee3f8c
commit 1c30b174ed
3 changed files with 5 additions and 3 deletions

View File

@ -1416,9 +1416,9 @@
</listitem>
</varlistentry>
<varlistentry>
<term><varname>FwMark=</varname></term>
<term><varname>FirewallMark=</varname></term>
<listitem>
<para>Sets a firewall mark on outgoing WireGuard packets from this interface.</para>
<para>Sets a firewall mark on outgoing WireGuard packets from this interface. Takes a number between 1 and 4294967295.</para>
</listitem>
</varlistentry>
</variablelist>

View File

@ -197,7 +197,8 @@ Bridge.VLANFiltering, config_parse_tristate,
Bridge.STP, config_parse_tristate, 0, offsetof(Bridge, stp)
VRF.TableId, config_parse_uint32, 0, offsetof(Vrf, table) /* deprecated */
VRF.Table, config_parse_uint32, 0, offsetof(Vrf, table)
WireGuard.FwMark, config_parse_unsigned, 0, offsetof(Wireguard, fwmark)
WireGuard.FirewallMark, config_parse_unsigned, 0, offsetof(Wireguard, fwmark)
WireGuard.FwMark, config_parse_unsigned, 0, offsetof(Wireguard, fwmark) /* deprecated */
WireGuard.ListenPort, config_parse_wireguard_listen_port, 0, offsetof(Wireguard, port)
WireGuard.PrivateKey, config_parse_wireguard_private_key, 0, 0
WireGuard.PrivateKeyFile, config_parse_wireguard_private_key_file, 0, 0

View File

@ -11,6 +11,7 @@ ListenPort=
PrivateKey=
PrivateKeyFile=
FwMark=
FirewallMark=
[MACVTAP]
Mode=
[Match]