From 572d2528f37917822cc9d084741d6e7dfe16ae49 Mon Sep 17 00:00:00 2001 From: Erik Boasson Date: Sun, 1 Sep 2019 10:03:23 +0200 Subject: [PATCH] Update config source id for implied CycloneDDS tag Signed-off-by: Erik Boasson --- src/core/ddsi/src/q_config.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/ddsi/src/q_config.c b/src/core/ddsi/src/q_config.c index b45eba5..6a41dd9 100644 --- a/src/core/ddsi/src/q_config.c +++ b/src/core/ddsi/src/q_config.c @@ -2383,6 +2383,8 @@ static int proc_elem_open (void *varg, UNUSED_ARG (uintptr_t parentinfo), UNUSED cfgst_push (cfgst, 0, &root_cfgelems[0], cfgst_parent (cfgst)); cfgst->implicit_toplevel = ITL_INSERTED_2; } + cfgst->source = (cfgst->source == 0) ? 1 : cfgst->source << 1; + cfgst->first_data_in_source = true; } }