diff options
author | Martin Willi <martin@revosec.ch> | 2010-03-24 14:52:11 +0100 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2010-03-25 14:29:10 +0100 |
commit | 913eb696929d9c611cc9a85a0609c122467f696e (patch) | |
tree | 20787d87e0335db46e675d7e0a6dcb371963517a /src/libcharon/plugins/dhcp/dhcp_socket.h | |
parent | 045833c79d5d28fe7f6a55969a3ebc37dbab32c6 (diff) | |
download | strongswan-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.h | 7 |
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); |