Commit 838efbc2 authored by Lionel Gauthier's avatar Lionel Gauthier

hss hostname in config

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6367 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 03d2b06d
...@@ -130,7 +130,8 @@ int s6a_fd_new_peer(void) ...@@ -130,7 +130,8 @@ int s6a_fd_new_peer(void)
fd_g_config->cnf_diamid, fd_g_config->cnf_diamid_len); fd_g_config->cnf_diamid, fd_g_config->cnf_diamid_len);
hss_name = calloc(1,100); hss_name = calloc(1,100);
strcat(hss_name, "hss."); strcat(hss_name, mme_config.s6a_config.hss_host_name);
strcat(hss_name, ".");
strcat(hss_name, mme_config.realm); strcat(hss_name, mme_config.realm);
info.pi_diamid = hss_name; info.pi_diamid = hss_name;
info.pi_diamidlen = strlen(info.pi_diamid); info.pi_diamidlen = strlen(info.pi_diamid);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment