phc2sys.c: Implement using transportSpecific

Signed-off-by: Peter Schneider <peter@psch.de>
master
Peter Schneider 2018-04-15 21:13:57 +02:00 committed by Richard Cochran
parent c93045b37b
commit 79d290e222
1 changed files with 2 additions and 1 deletions

View File

@ -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;