]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/other/rscript/rscript.cpp
Allow empty net-router map
[stg.git] / projects / stargazer / plugins / other / rscript / rscript.cpp
index c9fcc549b84f31a83f688f63ce6ec4f84fd1f7e6..3a557a3088a1ec7c32b48260a5dfa1db1564b5bb 100644 (file)
@@ -157,13 +157,6 @@ if (nrMapParser.ReadFile(subnetFile))
 
 netRouters = nrMapParser.GetMap();
 
 
 netRouters = nrMapParser.GetMap();
 
-if (netRouters.empty())
-    {
-    errorStr = "Parameter(s) \'Subnet*\' not found.";
-    printfd(__FILE__, "Parameter(s) 'Subnet*' not found\n");
-    return -1;
-    }
-
 return 0;
 }
 //-----------------------------------------------------------------------------
 return 0;
 }
 //-----------------------------------------------------------------------------