Skip to content

Commit

Permalink
drouting: allow usage of goes_to_gw in LOCAL_ROUTE
Browse files Browse the repository at this point in the history
(cherry picked from commit 483ee0b)
  • Loading branch information
razvancrainea committed Oct 2, 2023
1 parent 0162dc5 commit a3a57d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/drouting/doc/drouting_admin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1692,7 +1692,7 @@ if (use_next_gw( , ,$var(carrier_attrs), "my_partition")) {
</para>
<para>
This function can be used from REQUEST_ROUTE, FAILURE_ROUTE,
BRANCH_ROUTE and ONREPLY_ROUTE.
BRANCH_ROUTE, ONREPLY_ROUTE and LOCAL_ROUTE.
</para>
<para>
If you set <varname>use_partitions</varname> parameter to 1 you must
Expand Down
2 changes: 1 addition & 1 deletion modules/drouting/drouting.c
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ static cmd_export_t cmds[] = {
{CMD_PARAM_STR|CMD_PARAM_OPT|CMD_PARAM_FIX_NULL, fix_partition,NULL},
{0 , 0, 0}
},
REQUEST_ROUTE|FAILURE_ROUTE|BRANCH_ROUTE|ONREPLY_ROUTE
REQUEST_ROUTE|FAILURE_ROUTE|BRANCH_ROUTE|ONREPLY_ROUTE|LOCAL_ROUTE
},
{"dr_is_gw", (cmd_function)dr_is_gw,
{ {CMD_PARAM_STR, NULL, NULL},
Expand Down

0 comments on commit a3a57d4

Please sign in to comment.