Skip to content
Snippets Groups Projects
Commit f8450544 authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#2383] Save ip 2 ip network interface parameters in config

parent eafd7b2c
Branches
Tags
No related merge requests found
...@@ -94,6 +94,16 @@ ConfigurationManager::setIp2IpDetails (const std::map< std::string, std::string ...@@ -94,6 +94,16 @@ ConfigurationManager::setIp2IpDetails (const std::map< std::string, std::string
std::map<std::string, std::string> map_cpy = details; std::map<std::string, std::string> map_cpy = details;
std::map<std::string, std::string>::iterator it; std::map<std::string, std::string>::iterator it;
it = map_cpy.find (LOCAL_ADDRESS);
if (it != details.end()) {
Manager::instance().setConfig (IP2IP_PROFILE, LOCAL_ADDRESS, it->second);
}
it = map_cpy.find(LOCAL_PORT);
if (it != details.end()) {
Manager::instance().setConfig (IP2IP_PROFILE, LOCAL_PORT, it->second);
}
it = map_cpy.find (SRTP_ENABLE); it = map_cpy.find (SRTP_ENABLE);
if (it != details.end()) { if (it != details.end()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment