Browse code

pipelimit: allow execution of cfg functions from several routing blocks

(cherry picked from commit 93ba83a349564bf307654bf2891100071376eca2)
(cherry picked from commit 969f0b6c5b42b75c094d89d2a58da39257e910fa)

Daniel-Constantin Mierla authored on 31/05/2017 07:28:57
Showing 1 changed files
... ...
@@ -122,15 +122,15 @@ static int fixup_pl_check3(void** param, int param_no);
122 122
 
123 123
 static cmd_export_t cmds[]={
124 124
 	{"pl_check",      (cmd_function)w_pl_check,        1, fixup_spve_null,
125
-		0,               REQUEST_ROUTE|CORE_ONREPLY_ROUTE},
125
+		0,    ANY_ROUTE},
126 126
 	{"pl_check",      (cmd_function)w_pl_check3,       3, fixup_pl_check3,
127
-		0,               REQUEST_ROUTE|CORE_ONREPLY_ROUTE},
127
+		0,    ANY_ROUTE},
128 128
 	{"pl_drop",       (cmd_function)w_pl_drop_default, 0, 0,
129
-		0,               REQUEST_ROUTE},
129
+		0,    REQUEST_ROUTE|BRANCH_ROUTE|FAILURE_ROUTE|ONSEND_ROUTE},
130 130
 	{"pl_drop",       (cmd_function)w_pl_drop_forced,  1, fixup_uint_null,
131
-		0,               REQUEST_ROUTE},
131
+		0,    REQUEST_ROUTE|BRANCH_ROUTE|FAILURE_ROUTE|ONSEND_ROUTE},
132 132
 	{"pl_drop",       (cmd_function)w_pl_drop,         2, fixup_uint_uint,
133
-		0,               REQUEST_ROUTE},
133
+		0,    REQUEST_ROUTE|BRANCH_ROUTE|FAILURE_ROUTE|ONSEND_ROUTE},
134 134
 	{0,0,0,0,0,0}
135 135
 };
136 136
 static param_export_t params[]={