kernel-pfkey: remove obsolete pluto specific behavior
authorMartin Willi <martin@revosec.ch>
Mon, 6 May 2013 13:30:07 +0000 (15:30 +0200)
committerMartin Willi <martin@revosec.ch>
Mon, 6 May 2013 14:10:12 +0000 (16:10 +0200)
src/libhydra/plugins/kernel_pfkey/kernel_pfkey_ipsec.c

index 2521af8..b1320f7 100644 (file)
@@ -2618,11 +2618,7 @@ kernel_pfkey_ipsec_t *kernel_pfkey_ipsec_create()
                                                                                                  hydra->daemon),
        );
 
-       if (streq(hydra->daemon, "pluto"))
-       {       /* no routes for pluto, they are installed via updown script */
-               this->install_routes = 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;
        }