From 2e9101da99b18700e23587e04751050cf07de632 Mon Sep 17 00:00:00 2001 From: Florian Pose Date: Fri, 29 Nov 2024 14:06:02 +0100 Subject: [PATCH] Remove domain information from RtIPC path. --- fake_lib/fakeethercat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fake_lib/fakeethercat.cpp b/fake_lib/fakeethercat.cpp index ee8a21cb..88a3b618 100644 --- a/fake_lib/fakeethercat.cpp +++ b/fake_lib/fakeethercat.cpp @@ -118,7 +118,7 @@ int ec_domain::activate(int domain_id) slaves.insert(pdo.slave_address.getCombined()); void *rt_pdo = nullptr; char buf[512]; - const auto fmt = snprintf(buf, sizeof(buf), "%s/%d/%d/%08X/%04X", prefix, master->getId(), domain_id, pdo.slave_address.getCombined(), pdo.pdo_index); + const auto fmt = snprintf(buf, sizeof(buf), "%s/%d/%08X/%04X", prefix, master->getId(), pdo.slave_address.getCombined(), pdo.pdo_index); if (fmt < 0 || fmt >= (int)sizeof(buf)) { return -ENOBUFS;