2019-12-09 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in the rdxport service that could cause MODIFY
	notifications to fail to be sent by the 'SaveLog' WebAPI call.
This commit is contained in:
Fred Gleason
2019-12-09 01:05:13 -05:00
parent 152da1f154
commit 525573a245
3 changed files with 11 additions and 1 deletions

View File

@@ -619,6 +619,11 @@ bool MainObject::DispatchCommand(RipcdConnection *conn)
BroadcastCommand("ON "+msg+"!",conn->id());
ripcd_notification_mcaster->
send(msg,rda->system()->notificationAddress(),RD_NOTIFICATION_PORT);
rda->syslog(LOG_DEBUG,"sent notification: \"%s\" to %s:%d",
(const char *)msg.toUtf8(),
(const char *)rda->system()->notificationAddress().
toString().toUtf8(),
RD_NOTIFICATION_PORT);
delete notify;
}