diff options
author | 2016-02-01 11:57:59 +0200 | |
---|---|---|
committer | 2016-02-01 11:57:59 +0200 | |
commit | dcacbb143335db3c6939e2d9dd87055c323e4ab3 (patch) | |
tree | 6386d7653342adf78db34b66fc9bc0bceccd446c /src/bp_sim.cpp | |
parent | 696cbfb3616a506cca7e7c68c1b92ff037f54f87 (diff) | |
parent | 99f9194a239714b512ea4636c2250d353f54725c (diff) |
Merge branch 'wofanli-trex-173'
Diffstat (limited to 'src/bp_sim.cpp')
-rwxr-xr-x | src/bp_sim.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/bp_sim.cpp b/src/bp_sim.cpp index a7fadf93..bb1eb073 100755 --- a/src/bp_sim.cpp +++ b/src/bp_sim.cpp @@ -2615,13 +2615,11 @@ void operator >> (const YAML::Node& node, CFlowsYamlInfo & flows_info) { } if (node.FindValue("one_app_server")) { - node["one_app_server"] >> flows_info.m_one_app_server; - flows_info.m_one_app_server_was_set=true; - }else{ - flows_info.m_one_app_server =false; - flows_info.m_one_app_server_was_set=false; + printf("one_app_server should be configured per template. \n" + "Will ignore this configuration\n"); } - + flows_info.m_one_app_server =false; + flows_info.m_one_app_server_was_set=false; if (node.FindValue("vlan")) { node["vlan"] >> flows_info.m_vlan_info; |