diff options
-rw-r--r-- | res/res_rtp_asterisk.c | 2 |
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) { |