aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authormvanbaak <mvanbaak@f38db490-d61c-443f-a65b-d21fe96a405b>2009-09-12 13:08:16 +0000
committermvanbaak <mvanbaak@f38db490-d61c-443f-a65b-d21fe96a405b>2009-09-12 13:08:16 +0000
commit73dc62fb7062f3a978ab84e03856102f57d3992c (patch)
tree2bc51179166ec12f575b7c0501f44887568be3f2 /res
parentac1806650dadd77cba9e87bd59cc557f34b7ec83 (diff)
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 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@218107 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r--res/res_rtp_asterisk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_rtp_asterisk.c b/res/res_rtp_asterisk.c
index d281fa515..3abb6c686 100644
--- a/res/res_rtp_asterisk.c
+++ b/res/res_rtp_asterisk.c
@@ -2400,7 +2400,7 @@ static char *rtp_do_debug_ip(struct ast_cli_args *a)
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) {