From b8b40317d0355bc70bb23a6240a36f3630c4952b Mon Sep 17 00:00:00 2001 From: Susant Sahani Date: Wed, 23 Nov 2016 21:03:01 +0530 Subject: 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 --- src/network/networkd-network.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/network/networkd-network.h b/src/network/networkd-network.h index 17cff956da..4dbc19fc3b 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; -- cgit v1.2.3-54-g00ecf