[MME/AMF] Fixed network name encoding (#1614)

This commit is contained in:
Sukchan Lee 2022-06-19 18:16:11 +09:00
parent c528e0d5bc
commit 0f93ec23ab
2 changed files with 4 additions and 0 deletions

View File

@ -797,6 +797,7 @@ int amf_context_parse_config(void)
}
network_full_name->length = size*2+1;
network_full_name->coding_scheme = 1;
network_full_name->ext = 1;
} else if (!strcmp(network_name_key, "short")) {
ogs_nas_network_name_t *network_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->coding_scheme = 1;
network_short_name->ext = 1;
}
}
} else if (!strcmp(amf_key, "amf_name")) {

View File

@ -946,6 +946,7 @@ int mme_context_parse_config()
}
network_full_name->length = size*2+1;
network_full_name->coding_scheme = 1;
network_full_name->ext = 1;
} else if (!strcmp(network_name_key, "short")) {
ogs_nas_network_name_t *network_short_name =
&self.short_name;
@ -962,6 +963,7 @@ int mme_context_parse_config()
}
network_short_name->length = size*2+1;
network_short_name->coding_scheme = 1;
network_short_name->ext = 1;
}
}
} else if (!strcmp(mme_key, "sgsap")) {