From: Lennart Poettering Date: Fri, 18 Nov 2016 16:01:32 +0000 (+0100) Subject: networkd: reorder fields in Network struct a bit X-Git-Tag: v234~804^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=94e9bd571ede5dee3e91672ef5a4af0e31fb447b;p=platform%2Fupstream%2Fsystemd.git networkd: reorder fields in Network struct a bit Let's reorder them a bit, so that stuff that belongs together semantically is placed together (in particular, move the various DHCP "use" booleans together). --- diff --git a/src/network/networkd-network.h b/src/network/networkd-network.h index ef32d1b..735d7f7 100644 --- a/src/network/networkd-network.h +++ b/src/network/networkd-network.h @@ -112,19 +112,19 @@ struct Network { DCHPClientIdentifier dhcp_client_identifier; char *dhcp_vendor_class_identifier; char *dhcp_hostname; - bool dhcp_use_dns; - bool dhcp_use_ntp; - bool dhcp_use_mtu; - bool dhcp_use_hostname; - DHCPUseDomains dhcp_use_domains; + unsigned dhcp_route_metric; + uint32_t dhcp_route_table; + uint32_t dhcp_client_port; bool dhcp_send_hostname; bool dhcp_broadcast; bool dhcp_critical; + bool dhcp_use_dns; + bool dhcp_use_ntp; + bool dhcp_use_mtu; bool dhcp_use_routes; bool dhcp_use_timezone; - unsigned dhcp_route_metric; - uint32_t dhcp_route_table; - uint32_t dhcp_client_port; + bool dhcp_use_hostname; + DHCPUseDomains dhcp_use_domains; /* DHCP Server Support */ bool dhcp_server;