diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-30 13:44:32 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-30 13:44:32 +0800 |
commit | f7c86c5b4d8f7d909595c0f01fcfaf5da4c4e7c4 (patch) | |
tree | 9867e89b58271d425df60fffa312c5ea8529e49d /openbsc/tests/bsc-nat/bsc_nat_test.c | |
parent | bf812fa83cfff25540e29166246ca71d8ddf0de9 (diff) |
nat: Replace the MGCP Endpoint if that is required
Add code to replace the Endpoint number for the mgcp.
Diffstat (limited to 'openbsc/tests/bsc-nat/bsc_nat_test.c')
-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 acc5de343..8f4e2d152 100644 --- a/openbsc/tests/bsc-nat/bsc_nat_test.c +++ b/openbsc/tests/bsc-nat/bsc_nat_test.c @@ -521,7 +521,7 @@ static void test_mgcp_rewrite(void) char *input = strdup(orig); - output = bsc_mgcp_rewrite(input, strlen(input), ip, port); + output = bsc_mgcp_rewrite(input, strlen(input), 0x1e, ip, port); if (msgb_l2len(output) != strlen(patc)) { fprintf(stderr, "Wrong sizes for test: %d %d != %d != %d\n", i, msgb_l2len(output), strlen(patc), strlen(orig)); fprintf(stderr, "String '%s' vs '%s'\n", (const char *) output->l2h, patc); |