diff options
author | Pablo Neira Ayuso <pablo@soleta.eu> | 2014-08-29 09:12:41 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@soleta.eu> | 2014-08-29 09:14:37 +0200 |
commit | dfa91df289b0ed023cf0b3ccc7b8c644b530f21d (patch) | |
tree | a7221f2d5aa6baa73d5b20d54ed850dacd694025 /openbsc | |
parent | ecbd56c625e81a00556026d996c97ed762a1dfd1 (diff) |
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.
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/tests/bsc-nat/bsc_nat_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/tests/bsc-nat/bsc_nat_test.c b/openbsc/tests/bsc-nat/bsc_nat_test.c index e9567c708..6f517071a 100644 --- a/openbsc/tests/bsc-nat/bsc_nat_test.c +++ b/openbsc/tests/bsc-nat/bsc_nat_test.c @@ -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", |