From 43b2d3407a1fb675f860b0af9f9f97c76b3c2550 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Tue, 16 Sep 2014 21:56:25 +0300 Subject: [PATCH] gssmd -> ssmd. --- Makefile | 2 +- src/pidfile.cpp | 2 +- src/settings.cpp | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 50397f5..ad08280 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ LIBS = 3rdparty/snmp++/libsnmp++.a \ -lcrypto \ -lpthread PROG = ssmd # SNMP Switch Management Daemon -VERSION = 1.1.5 +VERSION = 1.1.6 SOURCES = src/main.cpp \ src/pidfile.cpp \ diff --git a/src/pidfile.cpp b/src/pidfile.cpp index 99cea9c..4ad5203 100644 --- a/src/pidfile.cpp +++ b/src/pidfile.cpp @@ -11,7 +11,7 @@ using SSMD::PIDFile; PIDFile::PIDFile() - : fileName("/var/run/gssmd.pid") + : fileName("/var/run/ssmd.pid") { _create(); } diff --git a/src/settings.cpp b/src/settings.cpp index 4271faf..6e3a791 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -10,9 +10,9 @@ SettingsParser::SettingsParser() // Declare the supported options. _desc.add_options() ("help", "produce help message") - ("config,c", po::value()->default_value("/etc/gssmd/gssmd.conf"), "config file location") + ("config,c", po::value()->default_value("/etc/ssmd/ssmd.conf"), "config file location") ("daemon,d", "daemonize after start") - ("debug", "gssmd debugging") + ("debug", "ssmd debugging") ("log-file", po::value(), "log file location") ("pid-file", po::value(), "PID file location") ("switch-sync-interval,s", po::value(), "switch synchronization interval") @@ -21,7 +21,7 @@ SettingsParser::SettingsParser() ("down-profile-id", po::value(), "switch's download profile id") ("max-acl-per-pdu", po::value(), "maximum ACL's per PDU") ("data-url", po::value(), "data access URL") - ("version,v", "show gssmd version and exit") + ("version,v", "show ssmd version and exit") ; } -- 2.43.2