]> git.stg.codes - ssmd.git/blobdiff - include/settings.inl.h
Control dumping snmp scripts.
[ssmd.git] / include / settings.inl.h
index dbc275cb852fcc7ee8854a07b3872b1819a5f775..e922c82dd7be4ae08229b3567d21f9723d795a2b 100644 (file)
@@ -20,7 +20,7 @@ Settings::Settings()
       _upProfileId(1),
       _downProfileId(2),
       _maxACLPerPDU(50),
-      _dataURL()
+      _dumpScripts(false)
 {
 }
 
@@ -38,7 +38,9 @@ Settings::Settings(const Settings & rvalue)
       _upProfileId(rvalue._upProfileId),
       _downProfileId(rvalue._downProfileId),
       _maxACLPerPDU(rvalue._maxACLPerPDU),
-      _dataURL(rvalue._dataURL)
+      _dataURL(rvalue._dataURL),
+      _scriptBase(rvalue._scriptBase),
+      _dumpScripts(rvalue._dumpScripts)
 {
 }
 
@@ -63,6 +65,8 @@ const Settings & Settings::operator=(const Settings & rvalue)
     _downProfileId = rvalue._downProfileId;
     _maxACLPerPDU = rvalue._maxACLPerPDU;
     _dataURL = rvalue._dataURL;
+    _scriptBase = rvalue._scriptBase;
+    _dumpScripts = rvalue._dumpScripts;
     return *this;
 }