diff options
author | Patrik Flykt <patrik.flykt@linux.intel.com> | 2013-12-09 23:43:23 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-12-12 11:43:34 -0500 |
commit | bbdf06d9f242e2c5a699c3c5820bf6e09e8d174d (patch) | |
tree | f8de966f501f8faab6c47f241360ae8a20fe0a78 /src/systemd | |
parent | f5a70de7a9a9e8a37ba96f89ad75fcc31336bfa3 (diff) |
dhcp: Add function to stop the DHCP client
The client is stopped and brought back to its initial state.
Diffstat (limited to 'src/systemd')
-rw-r--r-- | src/systemd/sd-dhcp-client.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/systemd/sd-dhcp-client.h b/src/systemd/sd-dhcp-client.h index acfa3fac2..2d2fdffd1 100644 --- a/src/systemd/sd-dhcp-client.h +++ b/src/systemd/sd-dhcp-client.h @@ -34,6 +34,7 @@ int sd_dhcp_client_set_index(sd_dhcp_client *client, int interface_index); int sd_dhcp_client_set_mac(sd_dhcp_client *client, const struct ether_addr *addr); +int sd_dhcp_client_stop(sd_dhcp_client *client); int sd_dhcp_client_start(sd_dhcp_client *client); sd_dhcp_client *sd_dhcp_client_new(void); |