tests: bsc-nat: fix bsc_mgcp_rewrite() with osmux

Pass -1 to indicate no osmux, before ("b769f3c osmux: add osmux
circuit ID management and resolve NAT problems"), 0 was indicating
no osmux.
This commit is contained in:
Pablo Neira Ayuso 2014-08-29 09:12:41 +02:00
parent ecbd56c625
commit dfa91df289
1 changed files with 1 additions and 1 deletions

View File

@ -630,7 +630,7 @@ static void test_mgcp_rewrite(void)
char *input = strdup(orig);
output = bsc_mgcp_rewrite(input, strlen(input), 0x1e,
ip, port, 0, &payload_type);
ip, port, -1, &payload_type);
if (payload_type != -1) {
fprintf(stderr, "Found media payload type %d in SDP data\n",