mirror of
https://github.com/systemd/systemd.git
synced 2025-02-07 05:57:46 +03:00
networkd: tuntap - default to no packet information
Susant says: > ip tuntap turns this off by default. Let's follow ip(8) here as that should be the least surprising.
This commit is contained in:
parent
853284abdd
commit
ffd488e272
@ -366,7 +366,7 @@
|
|||||||
<listitem><para>Takes a boolean argument. Configures whether packets
|
<listitem><para>Takes a boolean argument. Configures whether packets
|
||||||
should be prepened with four extra bytes (two flag bytes and two
|
should be prepened with four extra bytes (two flag bytes and two
|
||||||
protocol bytes). If disabled it indicates that the packets will be
|
protocol bytes). If disabled it indicates that the packets will be
|
||||||
pure IP packets. Defaults to <literal>yes</literal>.</para>
|
pure IP packets. Defaults to <literal>no</literal>.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
|
@ -569,7 +569,6 @@ static int netdev_load_one(Manager *manager, const char *filename) {
|
|||||||
netdev->vxlanid = VXLAN_VID_MAX + 1;
|
netdev->vxlanid = VXLAN_VID_MAX + 1;
|
||||||
netdev->tunnel_pmtudisc = true;
|
netdev->tunnel_pmtudisc = true;
|
||||||
netdev->learning = true;
|
netdev->learning = true;
|
||||||
netdev->packet_info = true;
|
|
||||||
|
|
||||||
r = config_parse(NULL, filename, file,
|
r = config_parse(NULL, filename, file,
|
||||||
"Match\0NetDev\0VLAN\0MACVLAN\0VXLAN\0Tunnel\0Peer\0Tun\0Tap\0",
|
"Match\0NetDev\0VLAN\0MACVLAN\0VXLAN\0Tunnel\0Peer\0Tun\0Tap\0",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user