summaryrefslogtreecommitdiff
path: root/src/network/networkd-network.h
diff options
context:
space:
mode:
authorSusant Sahani <ssahani@users.noreply.github.com>2016-11-23 21:03:01 +0530
committerLennart Poettering <lennart@poettering.net>2016-11-23 16:33:01 +0100
commitb8b40317d0355bc70bb23a6240a36f3630c4952b (patch)
tree70f43fb1c65f53772889b337672a2d18e98f7b05 /src/network/networkd-network.h
parenta4021390fef27f4136497328f2e35e79bc88855d (diff)
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
Diffstat (limited to 'src/network/networkd-network.h')
-rw-r--r--src/network/networkd-network.h2
1 files changed, 1 insertions, 1 deletions
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;