[MME/AMF] Fixed network name encoding (#1614)
This commit is contained in:
parent
c528e0d5bc
commit
0f93ec23ab
|
@ -797,6 +797,7 @@ int amf_context_parse_config(void)
|
||||||
}
|
}
|
||||||
network_full_name->length = size*2+1;
|
network_full_name->length = size*2+1;
|
||||||
network_full_name->coding_scheme = 1;
|
network_full_name->coding_scheme = 1;
|
||||||
|
network_full_name->ext = 1;
|
||||||
} else if (!strcmp(network_name_key, "short")) {
|
} else if (!strcmp(network_name_key, "short")) {
|
||||||
ogs_nas_network_name_t *network_short_name =
|
ogs_nas_network_name_t *network_short_name =
|
||||||
&self.short_name;
|
&self.short_name;
|
||||||
|
@ -813,6 +814,7 @@ int amf_context_parse_config(void)
|
||||||
}
|
}
|
||||||
network_short_name->length = size*2+1;
|
network_short_name->length = size*2+1;
|
||||||
network_short_name->coding_scheme = 1;
|
network_short_name->coding_scheme = 1;
|
||||||
|
network_short_name->ext = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (!strcmp(amf_key, "amf_name")) {
|
} else if (!strcmp(amf_key, "amf_name")) {
|
||||||
|
|
|
@ -946,6 +946,7 @@ int mme_context_parse_config()
|
||||||
}
|
}
|
||||||
network_full_name->length = size*2+1;
|
network_full_name->length = size*2+1;
|
||||||
network_full_name->coding_scheme = 1;
|
network_full_name->coding_scheme = 1;
|
||||||
|
network_full_name->ext = 1;
|
||||||
} else if (!strcmp(network_name_key, "short")) {
|
} else if (!strcmp(network_name_key, "short")) {
|
||||||
ogs_nas_network_name_t *network_short_name =
|
ogs_nas_network_name_t *network_short_name =
|
||||||
&self.short_name;
|
&self.short_name;
|
||||||
|
@ -962,6 +963,7 @@ int mme_context_parse_config()
|
||||||
}
|
}
|
||||||
network_short_name->length = size*2+1;
|
network_short_name->length = size*2+1;
|
||||||
network_short_name->coding_scheme = 1;
|
network_short_name->coding_scheme = 1;
|
||||||
|
network_short_name->ext = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (!strcmp(mme_key, "sgsap")) {
|
} else if (!strcmp(mme_key, "sgsap")) {
|
||||||
|
|
Loading…
Reference in New Issue