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:
parent
62d446ccbb
commit
bfa416d27c
|
@ -630,7 +630,7 @@ static void test_mgcp_rewrite(void)
|
||||||
char *input = strdup(orig);
|
char *input = strdup(orig);
|
||||||
|
|
||||||
output = bsc_mgcp_rewrite(input, strlen(input), 0x1e,
|
output = bsc_mgcp_rewrite(input, strlen(input), 0x1e,
|
||||||
ip, port, 0, &payload_type);
|
ip, port, -1, &payload_type);
|
||||||
|
|
||||||
if (payload_type != -1) {
|
if (payload_type != -1) {
|
||||||
fprintf(stderr, "Found media payload type %d in SDP data\n",
|
fprintf(stderr, "Found media payload type %d in SDP data\n",
|
||||||
|
|
Loading…
Reference in New Issue