kernel-netlink: remove obsolete pluto specific behavior
authorMartin Willi <martin@revosec.ch>
Fri, 12 Apr 2013 09:32:05 +0000 (11:32 +0200)
committerMartin Willi <martin@revosec.ch>
Mon, 6 May 2013 14:10:11 +0000 (16:10 +0200)
src/libhydra/plugins/kernel_netlink/kernel_netlink_ipsec.c

index 9b4ade5..9a2e9f8 100644 (file)
@@ -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;
        }