summaryrefslogtreecommitdiff
path: root/src/dhcp-manager/nm-dhcp-systemd.c
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2016-01-25 09:46:58 +0100
committerBeniamino Galvani <bgalvani@redhat.com>2016-01-25 17:46:01 +0100
commit37d0833a1526d2674243a9b06eeae1aba49dad76 (patch)
treec48e59b0a5f804ac080f3da0ea4df484e41f98ca /src/dhcp-manager/nm-dhcp-systemd.c
parent2ef70653fbe3f35806699147130ade6df35e351a (diff)
downloadNetworkManager-37d0833a1526d2674243a9b06eeae1aba49dad76.tar.gz
dhcp/systemd: honor timeout
Diffstat (limited to 'src/dhcp-manager/nm-dhcp-systemd.c')
-rw-r--r--src/dhcp-manager/nm-dhcp-systemd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dhcp-manager/nm-dhcp-systemd.c b/src/dhcp-manager/nm-dhcp-systemd.c
index bafc7c9d3b..ca4027e8dd 100644
--- a/src/dhcp-manager/nm-dhcp-systemd.c
+++ b/src/dhcp-manager/nm-dhcp-systemd.c
@@ -51,7 +51,6 @@ typedef struct {
struct sd_dhcp6_client *client6;
char *lease_file;
- guint timeout_id;
guint request_count;
gboolean privacy;
@@ -668,6 +667,8 @@ ip4_start (NMDhcpClient *client, const char *dhcp_anycast_addr, const char *last
goto error;
}
+ nm_dhcp_client_start_timeout (client);
+
success = TRUE;
error: