diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-07-17 01:13:22 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-07-17 01:41:52 +0200 |
commit | e1c959948c0e31d6997bcdfbabfbd077784b2bae (patch) | |
tree | 20110fde60bc894123285e77c329c22ec3a0d8b4 /src/resolve/resolved-link.c | |
parent | 76f468c8ea568fce98fa75d7f1d540256eb0940a (diff) |
resolved: properly handle MTU logic
Diffstat (limited to 'src/resolve/resolved-link.c')
-rw-r--r-- | src/resolve/resolved-link.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resolve/resolved-link.c b/src/resolve/resolved-link.c index 9c886a26b5..61b112cb05 100644 --- a/src/resolve/resolved-link.c +++ b/src/resolve/resolved-link.c @@ -91,6 +91,10 @@ int link_update_rtnl(Link *l, sd_rtnl_message *m) { if (r < 0) return r; + r = sd_rtnl_message_read_u32(m, IFLA_MTU, &l->mtu); + if (r < 0) + return r; + return 0; } |