diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-11-18 17:01:32 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-11-21 22:58:26 +0100 |
commit | 94e9bd571ede5dee3e91672ef5a4af0e31fb447b (patch) | |
tree | c685db64f0198af5ec78fda68d83501fed7f64f6 | |
parent | 265759908d674b059987453c80ae984da0642717 (diff) |
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).
-rw-r--r-- | src/network/networkd-network.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/network/networkd-network.h b/src/network/networkd-network.h index ef32d1b39a..735d7f7a77 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; |