chiark / gitweb /
sd-dhcp-client: split sd_dhcp_lease from sd_dhcp_client
[elogind.git] / src / network / networkd.h
index 831a9cbdd951ff6a6b45e6b21a12ccb143741139..e9ca38f59765fda5ea342f92422c5cb3bed2c43b 100644 (file)
@@ -174,18 +174,15 @@ struct Link {
 
         Network *network;
 
-        Route *dhcp_route;
-        Address *dhcp_address;
-        Address *dns;
-        uint16_t original_mtu;
-
         LinkState state;
 
         unsigned addr_messages;
         unsigned route_messages;
         unsigned enslaving;
 
-        sd_dhcp_client *dhcp;
+        sd_dhcp_client *dhcp_client;
+        sd_dhcp_lease *dhcp_lease;
+        uint16_t original_mtu;
 };
 
 struct Manager {