From: Susant Sahani Date: Wed, 23 Nov 2016 15:33:01 +0000 (+0530) Subject: networkd: fix size of MTUBytes so that it does not overwrites ARP (#4707) X-Git-Tag: v233~398 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b8b40317d0355bc70bb23a6240a36f3630c4952b;p=thirdparty%2Fsystemd.git networkd: fix size of MTUBytes so that it does not overwrites ARP (#4707) config_parse_iec_size overwrites the next varible that is ARP. Now the mtu is unsigned . Make it size_t . Fixes #4644 --- diff --git a/src/network/networkd-network.h b/src/network/networkd-network.h index 17cff956dae..4dbc19fc3b6 100644 --- a/src/network/networkd-network.h +++ b/src/network/networkd-network.h @@ -174,7 +174,7 @@ struct Network { IPv6PrivacyExtensions ipv6_privacy_extensions; struct ether_addr *mac; - unsigned mtu; + size_t mtu; int arp; uint32_t iaid; DUID duid;