aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/dhcp/dhcp_socket.h
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2010-03-24 14:52:11 +0100
committerMartin Willi <martin@revosec.ch>2010-03-25 14:29:10 +0100
commit913eb696929d9c611cc9a85a0609c122467f696e (patch)
tree20787d87e0335db46e675d7e0a6dcb371963517a /src/libcharon/plugins/dhcp/dhcp_socket.h
parent045833c79d5d28fe7f6a55969a3ebc37dbab32c6 (diff)
downloadstrongswan-913eb696929d9c611cc9a85a0609c122467f696e.tar.bz2
strongswan-913eb696929d9c611cc9a85a0609c122467f696e.tar.xz
Send DHCP RELEASE on virtual IP release
Diffstat (limited to 'src/libcharon/plugins/dhcp/dhcp_socket.h')
-rw-r--r--src/libcharon/plugins/dhcp/dhcp_socket.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libcharon/plugins/dhcp/dhcp_socket.h b/src/libcharon/plugins/dhcp/dhcp_socket.h
index 687e95bc7..0a8398aba 100644
--- a/src/libcharon/plugins/dhcp/dhcp_socket.h
+++ b/src/libcharon/plugins/dhcp/dhcp_socket.h
@@ -40,6 +40,13 @@ struct dhcp_socket_t {
identification_t *identity);
/**
+ * Release an enrolled DHCP address.
+ *
+ * @param transaction transaction returned by enroll
+ */
+ void (*release)(dhcp_socket_t *this, dhcp_transaction_t *transaction);
+
+ /**
* Destroy a dhcp_socket_t.
*/
void (*destroy)(dhcp_socket_t *this);