From 2a674c7df33c986aba055f09a0377e073edccedf Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Wed, 17 Sep 2014 21:13:06 +0300 Subject: [PATCH] Show new params in settings dump. --- Makefile | 2 +- src/main.cpp | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) 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()) { -- 2.43.2