vici: Handle the "trap" action as an alias for "route"

This commit is contained in:
Martin Willi
2014-05-07 14:13:39 +02:00
parent e0a34ee459
commit 5619d40613
+1
View 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 },
};