summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorSusant Sahani <susant@redhat.com>2014-07-22 16:46:39 +0530
committerSusant Sahani <susant@redhat.com>2014-10-29 10:53:56 +0530
commit436b910f1f4f5700f72fd4332f5b615497dcc27e (patch)
treec1f01127a1a041817e9a0d66f45fe5cf1c5ad377 /src/network
parentc4ac990007cd0069bb7e76ec15dd731320f382fd (diff)
networkd: add back path of MTU discovery for SIT
Diffstat (limited to 'src/network')
-rw-r--r--src/network/networkd-netdev-tunnel.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/network/networkd-netdev-tunnel.c b/src/network/networkd-netdev-tunnel.c
index 174fe234fd..75876960b4 100644
--- a/src/network/networkd-netdev-tunnel.c
+++ b/src/network/networkd-netdev-tunnel.c
@@ -120,6 +120,14 @@ static int netdev_sit_fill_message_create(NetDev *netdev, Link *link, sd_rtnl_me
return r;
}
+ r = sd_rtnl_message_append_u8(m, IFLA_IPTUN_PMTUDISC, t->pmtudisc);
+ if (r < 0) {
+ log_error_netdev(netdev,
+ "Could not append IFLA_IPTUN_PMTUDISC attribute: %s",
+ strerror(-r));
+ return r;
+ }
+
return r;
}