chiark / gitweb /
networkd: tuntap - default to no packet information
authorTom Gundersen <teg@jklm.no>
Thu, 3 Jul 2014 10:19:14 +0000 (12:19 +0200)
committerTom Gundersen <teg@jklm.no>
Thu, 3 Jul 2014 10:19:26 +0000 (12:19 +0200)
Susant says:
> ip tuntap turns this off by default.

Let's follow ip(8) here as that should be the least surprising.

man/systemd.netdev.xml
src/network/networkd-netdev.c

index 64987980a73b7d4c6461e4c4822dde2238adbadc..c90bd8f98c13520e57d20753bf799d56e375fd90 100644 (file)
                                         <listitem><para>Takes a boolean argument. Configures whether packets
                                         should be prepened with four extra bytes (two flag bytes and two
                                         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>
                                 </varlistentry>
                                 <varlistentry>
index 5ee9da6de0cbba280506b3c6dc0fcd67e76f5b54..a8c1ea3b44a7e3b24f4409c66a2069298611fc46 100644 (file)
@@ -569,7 +569,6 @@ static int netdev_load_one(Manager *manager, const char *filename) {
         netdev->vxlanid = VXLAN_VID_MAX + 1;
         netdev->tunnel_pmtudisc = true;
         netdev->learning = true;
-        netdev->packet_info = true;
 
         r = config_parse(NULL, filename, file,
                          "Match\0NetDev\0VLAN\0MACVLAN\0VXLAN\0Tunnel\0Peer\0Tun\0Tap\0",