From e41f5813fce0ce1cb91986d57178931e92f1fb40 Mon Sep 17 00:00:00 2001 From: Dennis Potman Date: Wed, 6 Sep 2023 17:58:56 +0200 Subject: [PATCH] Fixup domain isolation in cdds_psmx plugin Signed-off-by: Dennis Potman --- src/core/ddsc/tests/psmx_cdds_impl.c | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/src/core/ddsc/tests/psmx_cdds_impl.c b/src/core/ddsc/tests/psmx_cdds_impl.c index f4e4a104e2..f1308dae91 100644 --- a/src/core/ddsc/tests/psmx_cdds_impl.c +++ b/src/core/ddsc/tests/psmx_cdds_impl.c @@ -23,18 +23,19 @@ #include "psmx_cdds_data.h" #define DDS_DOMAINID 50 +#define DDS_CONFIG_BASE \ + "${CYCLONEDDS_URI}," \ + "" \ + "${CYCLONEDDS_PID}" \ + "" #if 1 -#define DDS_CONFIG "${CYCLONEDDS_URI}" +#define DDS_CONFIG DDS_CONFIG_BASE #else -#define DDS_CONFIG \ - "${CYCLONEDDS_URI}," \ - "" \ - "${CYCLONEDDS_PID}" \ - "" \ - "" \ - "cyclonedds_psmx_impl.${CYCLONEDDS_DOMAIN_ID}.${CYCLONEDDS_PID}.log" \ - "finest" \ - "" +#define DDS_CONFIG DDS_CONFIG_BASE \ + "" \ + "cyclonedds_psmx_impl.${CYCLONEDDS_DOMAIN_ID}.${CYCLONEDDS_PID}.log" \ + "finest" \ + "" #endif #define ON_DATA_INIT 0