Module: kamailio
Branch: master
Commit: 657fb58a9274f7fc163533b8eb476c59390cff85
URL:
https://github.com/kamailio/kamailio/commit/657fb58a9274f7fc163533b8eb476c5…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2015-07-06T09:10:15+02:00
Merge pull request #224 from kamailio/vseva/routename_fix
core: clean previous routename
---
Modified: cfg.y
---
Diff:
https://github.com/kamailio/kamailio/commit/657fb58a9274f7fc163533b8eb476c5…
Patch:
https://github.com/kamailio/kamailio/commit/657fb58a9274f7fc163533b8eb476c5…
---
diff --git a/cfg.y b/cfg.y
index 85e69a6..154cb44 100644
--- a/cfg.y
+++ b/cfg.y
@@ -1778,8 +1778,8 @@ route_name: NUMBER {
;
-route_main: ROUTE { ; }
- | ROUTE_REQUEST { ; }
+route_main: ROUTE { routename=NULL; }
+ | ROUTE_REQUEST { routename=NULL; }
;
route_stm:
@@ -1845,8 +1845,8 @@ failure_route_stm:
;
-route_reply_main: ROUTE_ONREPLY { ; }
- | ROUTE_REPLY { ; }
+route_reply_main: ROUTE_ONREPLY { routename=NULL; }
+ | ROUTE_REPLY { routename=NULL; }
;