From 0d5c110246a02e811377f20156a333d4cf2c39ec Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Thu, 18 Jan 2018 11:38:03 +0100 Subject: [PATCH] specify flags when opening UE db --- srsepc/src/hss/hss.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srsepc/src/hss/hss.cc b/srsepc/src/hss/hss.cc index b236acc08..0ccea844b 100644 --- a/srsepc/src/hss/hss.cc +++ b/srsepc/src/hss/hss.cc @@ -136,7 +136,7 @@ hss::set_auth_algo(std::string auth_algo) bool hss::read_db_file(std::string db_filename) { - m_db_file.open(db_filename.c_str()); + m_db_file.open(db_filename.c_str(), std::ifstream::in); if(!m_db_file.is_open()) { return false;