]> git.stg.codes - ssmd.git/commitdiff
Show new params in settings dump.
authorMaxim Mamontov <faust.madf@gmail.com>
Wed, 17 Sep 2014 18:13:06 +0000 (21:13 +0300)
committerMaxim Mamontov <faust.madf@gmail.com>
Wed, 17 Sep 2014 18:13:06 +0000 (21:13 +0300)
Makefile
src/main.cpp

index b3f2d3704ba1e8b45d2a55d50ce922af0fc128ad..ad0f66296af2ad48e6895f2f25dbd46c2315d42e 100644 (file)
--- 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 \
index 1b1d74b8fb5faff3cdc6eb84c811b273811b4bf6..4dd0a6ae68f03dba41e71abeedd05eace8b9efaf 100644 (file)
@@ -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()) {