mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 16:14:03 +00:00
ipaccess-config: initialize root talloc ctx with name
tall_ctx_config is defined but remains NULL. Instead initialize as named const. Change-Id: Iec708eda2e4f8eb88b9e5bc5f82f6342709760b1
This commit is contained in:
@@ -852,6 +852,8 @@ int main(int argc, char **argv)
|
|||||||
struct sockaddr_in sin;
|
struct sockaddr_in sin;
|
||||||
int rc, option_index = 0, stream_id = 0xff;
|
int rc, option_index = 0, stream_id = 0xff;
|
||||||
|
|
||||||
|
tall_ctx_config = talloc_named_const(NULL, 0, "ipaccess-config");
|
||||||
|
|
||||||
osmo_init_logging(&log_info);
|
osmo_init_logging(&log_info);
|
||||||
log_parse_category_mask(osmo_stderr_target, "DNM,0");
|
log_parse_category_mask(osmo_stderr_target, "DNM,0");
|
||||||
bts_model_nanobts_init();
|
bts_model_nanobts_init();
|
||||||
|
Reference in New Issue
Block a user