mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-05 00:00:45 -04:00
kernel-netlink: remove obsolete pluto specific behavior
This commit is contained in:
parent
2af65b26d9
commit
bc6275d21c
@ -2638,13 +2638,7 @@ kernel_netlink_ipsec_t *kernel_netlink_ipsec_create()
|
||||
this->replay_bmp = (this->replay_window + sizeof(u_int32_t) * 8 - 1) /
|
||||
(sizeof(u_int32_t) * 8);
|
||||
|
||||
if (streq(hydra->daemon, "pluto"))
|
||||
{ /* no routes for pluto, they are installed via updown script */
|
||||
this->install_routes = FALSE;
|
||||
/* no policy history for pluto */
|
||||
this->policy_history = FALSE;
|
||||
}
|
||||
else if (streq(hydra->daemon, "starter"))
|
||||
if (streq(hydra->daemon, "starter"))
|
||||
{ /* starter has no threads, so we do not register for kernel events */
|
||||
register_for_events = FALSE;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user