ike-sa: Keep track of the address of the gateway that redirected us
This commit is contained in:
@@ -857,6 +857,13 @@ struct ike_sa_t {
|
||||
*/
|
||||
bool (*handle_redirect)(ike_sa_t *this, identification_t *gateway);
|
||||
|
||||
/**
|
||||
* Get the address of the gateway that redirected us.
|
||||
*
|
||||
* @return original gateway address
|
||||
*/
|
||||
host_t *(*get_redirected_from)(ike_sa_t *this);
|
||||
|
||||
/**
|
||||
* Get the keying material of this IKE_SA.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user