Module: sip-router
Branch: master
Commit: 21775b41536b6d623e3bd750feb015b13b423fcf
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=21775b4…
Author: Henning Westerholt <henning.westerholt(a)1und1.de>
Committer: Henning Westerholt <henning.westerholt(a)1und1.de>
Date: Wed Aug 19 16:35:06 2009 +0200
cr: fix stupid bug related to the (legacy..) prime_route function (port from r5911)
---
modules/carrierroute/carrierroute.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/carrierroute/carrierroute.c b/modules/carrierroute/carrierroute.c
index 63d9677..9984b72 100644
--- a/modules/carrierroute/carrierroute.c
+++ b/modules/carrierroute/carrierroute.c
@@ -89,8 +89,8 @@ static cmd_export_t cmds[]={
{"cr_user_carrier", (cmd_function)cr_load_user_carrier, 3,
cr_load_user_carrier_fixup, 0, REQUEST_ROUTE | FAILURE_ROUTE },
{"cr_route", (cmd_function)cr_route, 5, cr_route_fixup,
0, REQUEST_ROUTE | FAILURE_ROUTE },
{"cr_route", (cmd_function)cr_route, 6, cr_route_fixup,
0, REQUEST_ROUTE | FAILURE_ROUTE },
- {"cr_prime_route", (cmd_function)cr_route, 5, cr_route_fixup,
0, REQUEST_ROUTE | FAILURE_ROUTE },
- {"cr_prime_route", (cmd_function)cr_route, 6, cr_route_fixup,
0, REQUEST_ROUTE | FAILURE_ROUTE },
+ {"cr_prime_route", (cmd_function)cr_prime_route, 5, cr_route_fixup,
0, REQUEST_ROUTE | FAILURE_ROUTE },
+ {"cr_prime_route", (cmd_function)cr_prime_route, 6, cr_route_fixup,
0, REQUEST_ROUTE | FAILURE_ROUTE },
{"cr_next_domain", (cmd_function)cr_load_next_domain, 6,
cr_load_next_domain_fixup, 0, REQUEST_ROUTE | FAILURE_ROUTE },
{0, 0, 0, 0, 0, 0}
};