Skip to content

Commit

Permalink
Make sure to only check Binding if Remote is set (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
VeithMetro authored Nov 8, 2024
1 parent 7a382d9 commit 72dac60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MessageControl/MessageControl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ namespace Thunder {
_config.FileName = service->VolatilePath() + _config.FileName.Value();
Announce(new Publishers::FileOutput(abbreviate, _config.FileName.Value()));
}
if ((_config.Remote.Binding.Value().empty() == false) && (_config.Remote.Port.Value() != 0)) {
if ((config.Remote.IsSet() == true) && (_config.Remote.Binding.Value().empty() == false) && (_config.Remote.Port.Value() != 0)) {
Announce(new Publishers::UDPOutput(abbreviate, Core::NodeId(_config.Remote.NodeId()), _service));
}

Expand Down

0 comments on commit 72dac60

Please sign in to comment.