vici: Handle the "trap" action as an alias for "route"
authorMartin Willi <martin@revosec.ch>
Tue, 6 May 2014 13:30:45 +0000 (15:30 +0200)
committerMartin Willi <martin@revosec.ch>
Wed, 7 May 2014 12:13:39 +0000 (14:13 +0200)
src/libcharon/plugins/vici/vici_config.c

index 08cf926..18d3f64 100644 (file)
@@ -700,6 +700,7 @@ CALLBACK(parse_action, bool,
                { "start",              ACTION_RESTART  },
                { "restart",    ACTION_RESTART  },
                { "route",              ACTION_ROUTE    },
+               { "trap",               ACTION_ROUTE    },
                { "none",               ACTION_NONE             },
                { "clear",              ACTION_NONE             },
        };