From 243696855c648f5b0ea68012e43f2b0246a78ed3 Mon Sep 17 00:00:00 2001 From: Bryan Biedenkapp Date: Mon, 17 Jun 2024 15:40:49 -0400 Subject: [PATCH] make alternate port for diagnostics the default; --- configs/fne-config.example.yml | 2 +- src/fne/HostFNE.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/fne-config.example.yml b/configs/fne-config.example.yml index a46b1f03..e6fb77d2 100644 --- a/configs/fne-config.example.yml +++ b/configs/fne-config.example.yml @@ -177,7 +177,7 @@ system: # Flag indicating the FNE should use an alternate port dedicated to diagnostic and activity # log processing. This port number is always: master port + 1 (so for example, a master port # of 62031 will use 62032 for diagnostic and activity messages.) - useAlternatePortForDiagnostics: false + useAlternatePortForDiagnostics: true # Flag indicating whether or not the host activity log will be sent to the network. allowActivityTransfer: true # Flag indicating whether or not the host diagnostic log will be sent to the network. diff --git a/src/fne/HostFNE.cpp b/src/fne/HostFNE.cpp index 9d433b8a..b7a952d4 100644 --- a/src/fne/HostFNE.cpp +++ b/src/fne/HostFNE.cpp @@ -326,7 +326,7 @@ bool HostFNE::readParams() m_updateLookupTime = 10U; } - m_useAlternatePortForDiagnostics = systemConf["useAlternatePortForDiagnostics"].as(false); + m_useAlternatePortForDiagnostics = systemConf["useAlternatePortForDiagnostics"].as(true); m_allowActivityTransfer = systemConf["allowActivityTransfer"].as(true); m_allowDiagnosticTransfer = systemConf["allowDiagnosticTransfer"].as(true);