From: Maxim Mamontov Date: Wed, 28 Dec 2011 11:30:06 +0000 (+0200) Subject: Allow empty net-router map X-Git-Tag: 2.408~28 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/fde026c507b6562245d6d2495742c56d181cb3b4?ds=inline Allow empty net-router map --- diff --git a/projects/stargazer/plugins/other/rscript/rscript.cpp b/projects/stargazer/plugins/other/rscript/rscript.cpp index c9fcc549..3a557a30 100644 --- a/projects/stargazer/plugins/other/rscript/rscript.cpp +++ b/projects/stargazer/plugins/other/rscript/rscript.cpp @@ -157,13 +157,6 @@ if (nrMapParser.ReadFile(subnetFile)) netRouters = nrMapParser.GetMap(); -if (netRouters.empty()) - { - errorStr = "Parameter(s) \'Subnet*\' not found."; - printfd(__FILE__, "Parameter(s) 'Subnet*' not found\n"); - return -1; - } - return 0; } //-----------------------------------------------------------------------------