[sr-dev] git:master:11bcc806: core: clean previous routename in order to get the correct default_routename
Victor Seva
linuxmaniac at torreviejawireless.org
Mon Jul 6 09:10:18 CEST 2015
Module: kamailio
Branch: master
Commit: 11bcc8066ce856cabfc95949b65712d891976194
URL: https://github.com/kamailio/kamailio/commit/11bcc8066ce856cabfc95949b65712d891976194
Author: Victor Seva <linuxmaniac at torreviejawireless.org>
Committer: Victor Seva <linuxmaniac at torreviejawireless.org>
Date: 2015-06-29T10:25:14+02:00
core: clean previous routename in order to get the correct default_routename
fix c44685cbcefb8f6ecfa6f11369699906db832c39
---
Modified: cfg.y
---
Diff: https://github.com/kamailio/kamailio/commit/11bcc8066ce856cabfc95949b65712d891976194.diff
Patch: https://github.com/kamailio/kamailio/commit/11bcc8066ce856cabfc95949b65712d891976194.patch
---
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; }
;
More information about the sr-dev
mailing list