... | ... |
@@ -366,6 +366,9 @@ int do_action(struct run_act_ctx* h, struct action* a, struct sip_msg* msg) |
366 | 366 |
goto error; |
367 | 367 |
} |
368 | 368 |
h->run_flags|=(unsigned int)a->val[1].u.number; |
369 |
+ if(unlikely((ret==0) && (h->run_flags&RETURN_R_F))) { |
|
370 |
+ h->run_flags |= EXIT_R_F; |
|
371 |
+ } |
|
369 | 372 |
break; |
370 | 373 |
case FORWARD_T: |
371 | 374 |
#ifdef USE_TCP |