return 0;
}
-int SMUX::Reload()
+int SMUX::Reload(const MODULE_SETTINGS & ms)
{
if (Stop())
return -1;
if (Start())
return -1;
+if (!needReconnect)
+ {
+ printfd(__FILE__, "SMUX reconnected succesfully.\n");
+ logger("Reconnected successfully.");
+ }
return 0;
}