mirror of
https://github.com/open5gs/open5gs.git
synced 2025-11-03 05:23:38 +00:00
fix compile error
This commit is contained in:
@@ -367,7 +367,11 @@ status_t mme_context_parse_config()
|
||||
else if (!strcmp(gtpc_key, "port"))
|
||||
{
|
||||
const char *v = yaml_iter_value(>pc_iter);
|
||||
if (v) port = atoi(v);
|
||||
if (v)
|
||||
{
|
||||
port = atoi(v);
|
||||
self.gtpc_port = port;
|
||||
}
|
||||
}
|
||||
else
|
||||
d_warn("unknown key `%s`", gtpc_key);
|
||||
@@ -912,7 +916,11 @@ status_t mme_context_parse_config()
|
||||
else if (!strcmp(gtpc_key, "port"))
|
||||
{
|
||||
const char *v = yaml_iter_value(>pc_iter);
|
||||
if (v) port = atoi(v);
|
||||
if (v)
|
||||
{
|
||||
port = atoi(v);
|
||||
self.gtpc_port = port;
|
||||
}
|
||||
}
|
||||
else if (!strcmp(gtpc_key, "apn"))
|
||||
{
|
||||
|
||||
@@ -226,7 +226,11 @@ status_t pgw_context_parse_config()
|
||||
else if (!strcmp(gtpc_key, "port"))
|
||||
{
|
||||
const char *v = yaml_iter_value(>pc_iter);
|
||||
if (v) port = atoi(v);
|
||||
if (v)
|
||||
{
|
||||
port = atoi(v);
|
||||
self.gtpc_port = port;
|
||||
}
|
||||
}
|
||||
else
|
||||
d_warn("unknown key `%s`", gtpc_key);
|
||||
@@ -294,7 +298,11 @@ status_t pgw_context_parse_config()
|
||||
else if (!strcmp(gtpu_key, "port"))
|
||||
{
|
||||
const char *v = yaml_iter_value(>pu_iter);
|
||||
if (v) port = atoi(v);
|
||||
if (v)
|
||||
{
|
||||
port = atoi(v);
|
||||
self.gtpu_port = port;
|
||||
}
|
||||
}
|
||||
else
|
||||
d_warn("unknown key `%s`", gtpu_key);
|
||||
@@ -386,7 +394,7 @@ status_t pgw_context_parse_config()
|
||||
else if (!strcmp(ue_network_key, "apn"))
|
||||
{
|
||||
apn = yaml_iter_value(&ue_network_iter);
|
||||
d_warn("Not implemented");
|
||||
d_warn("Not implemented apn=%s", apn);
|
||||
}
|
||||
else
|
||||
d_warn("unknown key `%s`", ue_network_key);
|
||||
|
||||
@@ -278,7 +278,11 @@ status_t sgw_context_parse_config()
|
||||
else if (!strcmp(gtpc_key, "port"))
|
||||
{
|
||||
const char *v = yaml_iter_value(>pc_iter);
|
||||
if (v) port = atoi(v);
|
||||
if (v)
|
||||
{
|
||||
port = atoi(v);
|
||||
self.gtpc_port = port;
|
||||
}
|
||||
}
|
||||
else
|
||||
d_warn("unknown key `%s`", gtpc_key);
|
||||
@@ -346,7 +350,11 @@ status_t sgw_context_parse_config()
|
||||
else if (!strcmp(gtpu_key, "port"))
|
||||
{
|
||||
const char *v = yaml_iter_value(>pu_iter);
|
||||
if (v) port = atoi(v);
|
||||
if (v)
|
||||
{
|
||||
port = atoi(v);
|
||||
self.gtpu_port = port;
|
||||
}
|
||||
}
|
||||
else
|
||||
d_warn("unknown key `%s`", gtpu_key);
|
||||
|
||||
Reference in New Issue
Block a user