Minor bug fixed

This commit is contained in:
Sukchan Lee 2019-12-08 16:31:15 +09:00
parent f7a4d0ed78
commit 79bada897b
3 changed files with 5 additions and 5 deletions

View File

@ -1519,7 +1519,7 @@ int mme_context_parse_config()
} while (ogs_yaml_iter_type(&gtpc_array) ==
YAML_SEQUENCE_NODE);
} else if(!strcmp(mme_key, "selection_mode")) {
} else if (!strcmp(mme_key, "selection_mode")) {
const char *selection_mode =
ogs_yaml_iter_value(&sgw_iter);

View File

@ -55,7 +55,7 @@ static void _gtpv2_c_recv_cb(short when, ogs_socket_t fd, void *data)
sgw = mme_sgw_find_by_addr(&from);
if (!sgw) {
ogs_error("Unknown SGW : %s", OGS_ADDR(&from, buf));
ogs_pkbuf_free(e->pkbuf);
ogs_pkbuf_free(pkbuf);
return;
}
ogs_assert(sgw->gnode);

View File

@ -17,8 +17,8 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef PGW_PATH_H
#define PGW_PATH_H
#ifndef PGW_GTP_PATH_H
#define PGW_GTP_PATH_H
#include "ogs-tun.h"
#include "ogs-gtp.h"
@ -34,4 +34,4 @@ void pgw_gtp_close(void);
}
#endif
#endif /* PGW_PATH_H */
#endif /* PGW_GTP_PATH_H */