Browse Source

nathelper: fixed handle_ruri_alias_mode(1) cannot proper handle multi alias

codenot 1 year ago
parent
commit
dc0738b9a1
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/modules/nathelper/nathelper.c

+ 0 - 2
src/modules/nathelper/nathelper.c

@@ -1160,8 +1160,6 @@ static int ki_handle_ruri_alias_mode(struct sip_msg *msg, int mode)
 				/* use first alias parameter */
 				/* use first alias parameter */
 				break;
 				break;
 			}
 			}
-			rest = rest + _ksr_contact_alias.len;
-			rest_len = rest_len - _ksr_contact_alias.len;
 		}
 		}
 		sep = memchr(rest, 59 /* ; */, rest_len);
 		sep = memchr(rest, 59 /* ; */, rest_len);
 		if(sep == NULL) {
 		if(sep == NULL) {