forked from acouzens/open5gs
update it
This commit is contained in:
parent
79f7ea1a58
commit
c055811c10
|
@ -101,15 +101,13 @@ status_t context_parse_config()
|
|||
{
|
||||
self.db_uri = jsmntok_to_string(json, &token[i+1]);
|
||||
i++;
|
||||
}
|
||||
if (jsmntok_equal(json, &token[i], "LOG_PATH") == 0)
|
||||
}
|
||||
else if (jsmntok_equal(json, &token[i], "LOG_PATH") == 0)
|
||||
{
|
||||
self.log_path = jsmntok_to_string(json, &token[i+1]);
|
||||
i++;
|
||||
}
|
||||
}
|
||||
|
||||
printf("%s, %s\n", self.db_uri, self.log_path);
|
||||
|
||||
return CORE_OK;
|
||||
}
|
||||
|
|
|
@ -1,2 +1,7 @@
|
|||
DB_URI : "mongodb://localhost/nextepc"
|
||||
LOG_PATH : "@prefix@/log/nextepc.log"
|
||||
{
|
||||
#
|
||||
|
||||
DB_URI : "mongodb://localhost/nextepc"
|
||||
LOG_PATH : "@prefix@/log/nextepc.log"
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue