From b1d1c240dbfe6a065fd489c38e2e8563ff2d747c Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Tue, 30 Oct 2018 17:27:59 +0100 Subject: Update wrong references to bsc in sgsn code Change-Id: I93f0dc721c2eff8a87fb9248882f24768f708713 --- tests/sgsn/sgsn_test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/sgsn/sgsn_test.c') diff --git a/tests/sgsn/sgsn_test.c b/tests/sgsn/sgsn_test.c index 3e86266e7..214d07b97 100644 --- a/tests/sgsn/sgsn_test.c +++ b/tests/sgsn/sgsn_test.c @@ -40,7 +40,7 @@ #include -void *tall_bsc_ctx; +void *tall_sgsn_ctx; static struct sgsn_instance sgsn_inst = { .config_file = "osmo_sgsn.cfg", .cfg = { @@ -1637,7 +1637,7 @@ int main(int argc, char **argv) osmo_sgsn_ctx = talloc_named_const(NULL, 0, "osmo_sgsn"); osmo_init_logging2(osmo_sgsn_ctx, &info); - tall_bsc_ctx = talloc_named_const(osmo_sgsn_ctx, 0, "bsc"); + tall_sgsn_ctx = talloc_named_const(osmo_sgsn_ctx, 0, "sgsn"); msgb_ctx = msgb_talloc_ctx_init(osmo_sgsn_ctx, 0); sgsn_rate_ctr_init(); @@ -1661,7 +1661,7 @@ int main(int argc, char **argv) talloc_report_full(osmo_sgsn_ctx, stderr); OSMO_ASSERT(talloc_total_blocks(msgb_ctx) == 1); - OSMO_ASSERT(talloc_total_blocks(tall_bsc_ctx) == 2); + OSMO_ASSERT(talloc_total_blocks(tall_sgsn_ctx) == 2); return 0; } -- cgit v1.2.3