also use correct encap parameter in PF_KEY
This commit is contained in:
@@ -1338,7 +1338,7 @@ static status_t update_sa(private_kernel_pfkey_ipsec_t *this,
|
||||
PFKEY_EXT_COPY(msg, response.key_auth);
|
||||
}
|
||||
|
||||
if (encap)
|
||||
if (new_encap)
|
||||
{
|
||||
add_encap_ext(msg, new_src, new_dst);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user