[asterisk-commits] mvanbaak: trunk r218107 - /trunk/res/res_rtp_asterisk.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Sep 12 08:08:24 CDT 2009


Author: mvanbaak
Date: Sat Sep 12 08:08:16 2009
New Revision: 218107

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=218107
Log:
use the actual given ip address for 'rtp set debug ip <foo>' instead of the word 'ip'

(closes issue #15711)
Reported by: davidw
Patches:
      2009082800-rtpdebug.diff.txt uploaded by mvanbaak (license 7)
Tested by: davidw

Modified:
    trunk/res/res_rtp_asterisk.c

Modified: trunk/res/res_rtp_asterisk.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/res/res_rtp_asterisk.c?view=diff&rev=218107&r1=218106&r2=218107
==============================================================================
--- trunk/res/res_rtp_asterisk.c (original)
+++ trunk/res/res_rtp_asterisk.c Sat Sep 12 08:08:16 2009
@@ -2400,7 +2400,7 @@
 	struct hostent *hp;
 	struct ast_hostent ahp;
 	int port = 0;
-	char *p, *arg = ast_strdupa(a->argv[3]);
+	char *p, *arg = ast_strdupa(a->argv[4]);
 
 	p = strstr(arg, ":");
 	if (p) {




More information about the asterisk-commits mailing list