Signed-off-by: Peter Schneider <[email protected]>
---
phc2sys.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/phc2sys.c b/phc2sys.c
index 9e81052..c004066 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel