Change in osmo-hlr[master]: osmo-hlr: allow configuring db path from cfg file

Vadim Yanitskiy gerrit-no-reply at lists.osmocom.org
Tue May 7 18:53:47 UTC 2019


Vadim Yanitskiy has posted comments on this change. ( https://gerrit.osmocom.org/13586 )

Change subject: osmo-hlr: allow configuring db path from cfg file
......................................................................


Patch Set 4:

(1 comment)

https://gerrit.osmocom.org/#/c/13586/4/src/hlr.c
File src/hlr.c:

https://gerrit.osmocom.org/#/c/13586/4/src/hlr.c@777
PS4, Line 777: 	if (cmdline_opts.db_file)
The point is that you could add an 'else if' branch here:

  if (cmdline_opts.db_file)
    osmo_talloc_replace_string(..., cmdline_opts.db_file);
  else if (g_hlr->db_file_path == NULL)
    talloc_strdup(g_hlr, HLR_DEFAULT_DB_FILE_PATH);



-- 
To view, visit https://gerrit.osmocom.org/13586
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-hlr
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I87b8673324e1e6225afb758fb4963ff3279ea3d8
Gerrit-Change-Number: 13586
Gerrit-PatchSet: 4
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-CC: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Comment-Date: Tue, 07 May 2019 18:53:47 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190507/4f38f828/attachment.html>


More information about the gerrit-log mailing list