From: Maxim Mamontov Date: Wed, 17 Sep 2014 18:13:06 +0000 (+0300) Subject: Show new params in settings dump. X-Git-Url: https://git.stg.codes/ssmd.git/commitdiff_plain/2a674c7df33c986aba055f09a0377e073edccedf Show new params in settings dump. --- diff --git a/Makefile b/Makefile index b3f2d37..ad0f662 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ LIBS = 3rdparty/snmp++/libsnmp++.a \ -lcrypto \ -lpthread PROG = ssmd # SNMP Switch Management Daemon -VERSION = 1.2.1 +VERSION = 1.2.2 SOURCES = src/main.cpp \ src/pidfile.cpp \ diff --git a/src/main.cpp b/src/main.cpp index 1b1d74b..4dd0a6a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -63,7 +63,9 @@ int main(int argc, char * argv[]) << "\t- switch's upload profile id: " << sParser.settings().upProfileId() << "\n" << "\t- switch's download profile id: " << sParser.settings().downProfileId() << "\n" << "\t- max ACL's per PDU: " << sParser.settings().maxACLPerPDU() << "\n" - << "\t- data URL: " << sParser.settings().dataURL() << std::endl; + << "\t- data URL: " << sParser.settings().dataURL() << "\n" + << "\t- scripts base dir: " << sParser.settings().scriptBase() << "\n" + << "\t- dump scripts: " << (sParser.settings().dumpScripts() ? "yes" : "no") << std::endl; } if (sParser.settings().isDaemon()) {