[sr-dev] git:master: modules/rtpproxy-ng: Allow PV in second rtpproxy_manage parameter

Hugh Waite hugh.waite at crocodile-rcs.com
Wed Sep 4 13:07:43 CEST 2013


Module: sip-router
Branch: master
Commit: 29cb7be4445995f73e9f425d99c9c5ee818c92de
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=29cb7be4445995f73e9f425d99c9c5ee818c92de

Author: Hugh Waite <hugh.waite at crocodile-rcs.com>
Committer: Hugh Waite <hugh.waite at crocodile-rcs.com>
Date:   Wed Sep  4 12:04:18 2013 +0100

modules/rtpproxy-ng: Allow PV in second rtpproxy_manage parameter

- Incorrect fixup function caused a crash when the second parameter was given

---

 modules/rtpproxy-ng/rtpproxy.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/rtpproxy-ng/rtpproxy.c b/modules/rtpproxy-ng/rtpproxy.c
index a86b23a..1760892 100644
--- a/modules/rtpproxy-ng/rtpproxy.c
+++ b/modules/rtpproxy-ng/rtpproxy.c
@@ -428,7 +428,7 @@ static cmd_export_t cmds[] = {
 		fixup_spve_null, fixup_free_spve_null,
 		ANY_ROUTE},
 	{"rtpproxy_manage",	(cmd_function)rtpproxy_manage2,     2,
-		fixup_spve_str, fixup_free_spve_str,
+		fixup_spve_spve, fixup_free_spve_spve,
 		ANY_ROUTE},
 	{0, 0, 0, 0, 0, 0}
 };




More information about the sr-dev mailing list