summaryrefslogtreecommitdiffstats
path: root/src/platform_cfg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/platform_cfg.cpp')
-rwxr-xr-xsrc/platform_cfg.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/platform_cfg.cpp b/src/platform_cfg.cpp
index 6aae450b..92b4e7e9 100755
--- a/src/platform_cfg.cpp
+++ b/src/platform_cfg.cpp
@@ -345,10 +345,11 @@ void operator >> (const YAML::Node& node, CPlatformYamlInfo & plat_info) {
/* must have interfaces */
const YAML::Node& interfaces = node["interfaces"];
if ( interfaces.size() > TREX_MAX_PORTS ) {
- printf("ERROR: Maximal number of interfaces is: %d, and you have specified: %d.\n",
+ printf("ERROR: Maximal number of interfaces is: %d, you have specified: %d.\n",
TREX_MAX_PORTS, (int) interfaces.size());
exit(-1);
}
+
for(unsigned i=0;i<interfaces.size();i++) {
std::string fi;
const YAML::Node & node = interfaces;