aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openbsc/tests/bsc-nat/bsc_data.c8
-rw-r--r--openbsc/tests/bsc-nat/bsc_nat_test.c3
2 files changed, 7 insertions, 4 deletions
diff --git a/openbsc/tests/bsc-nat/bsc_data.c b/openbsc/tests/bsc-nat/bsc_data.c
index 3cc22af7..04755233 100644
--- a/openbsc/tests/bsc-nat/bsc_data.c
+++ b/openbsc/tests/bsc-nat/bsc_data.c
@@ -171,11 +171,11 @@ static const uint8_t cc_setup_national[] = {
};
static const uint8_t cc_setup_national_patched[] = {
- 0x00, 0x22, 0xfd, 0x06, 0x01, 0x12,
- 0x6d, 0x00, 0x01, 0x1b, 0x01, 0x00, 0x18, 0x03,
+ 0x00, 0x21, 0xfd, 0x06, 0x01, 0x12,
+ 0x6d, 0x00, 0x01, 0x1a, 0x01, 0x00, 0x17, 0x03,
0x05, 0x04, 0x06, 0x60, 0x04, 0x02, 0x00, 0x05,
- 0x81, 0x5e, 0x08, 0x81, 0x00, 0x94, 0x71, 0x32,
- 0x33, 0x66, 0xf6, 0x15, 0x02, 0x11, 0x01
+ 0x81, 0x5e, 0x07, 0x91, 0x94, 0x71, 0x32, 0x33,
+ 0x66, 0xf6, 0x15, 0x02, 0x11, 0x01
};
static const uint8_t cc_setup_international[] = {
diff --git a/openbsc/tests/bsc-nat/bsc_nat_test.c b/openbsc/tests/bsc-nat/bsc_nat_test.c
index 05b06e40..c5edbfe1 100644
--- a/openbsc/tests/bsc-nat/bsc_nat_test.c
+++ b/openbsc/tests/bsc-nat/bsc_nat_test.c
@@ -444,6 +444,9 @@ static void test_mgcp_ass_tracking(void)
nat->bsc_endpoints = talloc_zero_array(nat,
struct bsc_endpoint,
33);
+ nat->mgcp_cfg = mgcp_config_alloc();
+ nat->mgcp_cfg->number_endpoints = 64;
+
bsc = bsc_connection_alloc(nat);
bsc->cfg = bsc_config_alloc(nat, "foo");
bsc_config_add_lac(bsc->cfg, 2323);