Add the reqid to kernel_ipsec_t.del_policy.
This commit is contained in:
+2
-2
@@ -837,7 +837,7 @@ static bool raw_eroute(const ip_address *this_host,
|
||||
if (deleting || replacing)
|
||||
{
|
||||
hydra->kernel_interface->del_policy(hydra->kernel_interface,
|
||||
ts_src, ts_dst, dir, mark, routed);
|
||||
ts_src, ts_dst, dir, sa->reqid, mark, routed);
|
||||
}
|
||||
|
||||
if (!deleting)
|
||||
@@ -853,7 +853,7 @@ static bool raw_eroute(const ip_address *this_host,
|
||||
if (deleting || replacing)
|
||||
{
|
||||
hydra->kernel_interface->del_policy(hydra->kernel_interface,
|
||||
ts_src, ts_dst, dir, mark, routed);
|
||||
ts_src, ts_dst, dir, sa->reqid, mark, routed);
|
||||
}
|
||||
|
||||
if (!deleting && ok &&
|
||||
|
||||
Reference in New Issue
Block a user