Signed-off-by: Peter Schneider <pe...@psch.de>
---
 phc2sys.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/phc2sys.c b/phc2sys.c
index 1ea0600..0d69f2b 100644
--- a/phc2sys.c
+++ b/phc2sys.c
@@ -904,7 +904,8 @@ static int init_pmc(struct config *cfg, struct node *node)
        snprintf(uds_local, sizeof(uds_local), "/var/run/phc2sys.%d",
                 getpid());
        node->pmc = pmc_create(cfg, TRANS_UDS, uds_local, 0,
-                        config_get_int(cfg, NULL, "domainNumber"), 0, 1);
+                        config_get_int(cfg, NULL, "domainNumber"),
+                        config_get_int(cfg, NULL, "transportSpecific") << 4, 
1);
        if (!node->pmc) {
                pr_err("failed to create pmc");
                return -1;
-- 
2.14.3


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to