diff options
Diffstat (limited to 'openbsc/tests')
-rw-r--r-- | openbsc/tests/bsc-nat/bsc_nat_test.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openbsc/tests/bsc-nat/bsc_nat_test.c b/openbsc/tests/bsc-nat/bsc_nat_test.c index 32f4f72ff..c9432fefd 100644 --- a/openbsc/tests/bsc-nat/bsc_nat_test.c +++ b/openbsc/tests/bsc-nat/bsc_nat_test.c @@ -865,7 +865,7 @@ static void test_setup_rewrite() abort(); } - out = bsc_nat_rewrite_setup(nat, msg, parsed, imsi); + out = bsc_nat_rewrite_msg(nat, msg, parsed, imsi); if (msg != out) { fprintf(stderr, "FAIL: The message should not have been changed\n"); abort(); @@ -891,7 +891,7 @@ static void test_setup_rewrite() abort(); } - out = bsc_nat_rewrite_setup(nat, msg, parsed, imsi); + out = bsc_nat_rewrite_msg(nat, msg, parsed, imsi); if (!out) { fprintf(stderr, "FAIL: A new message should be created.\n"); abort(); @@ -926,7 +926,7 @@ static void test_setup_rewrite() abort(); } - out = bsc_nat_rewrite_setup(nat, msg, parsed, imsi); + out = bsc_nat_rewrite_msg(nat, msg, parsed, imsi); if (!out) { fprintf(stderr, "FAIL: A new message should be created.\n"); abort(); @@ -961,7 +961,7 @@ static void test_setup_rewrite() abort(); } - out = bsc_nat_rewrite_setup(nat, msg, parsed, imsi); + out = bsc_nat_rewrite_msg(nat, msg, parsed, imsi); if (out != msg) { fprintf(stderr, "FAIL: The message should be unchanged.\n"); abort(); |