diff --git a/phc2sys.c b/phc2sys.c
index 8f740c4..0ec1ea7 100644
--- a/phc2sys.c
+++ b/phc2sys.c
@@ -871,13 +871,16 @@ static void send_subscription(struct node *node)
pmc_send_set_action(node->pmc, TLV_SUBSCRIBE_EVENTS_NP, &sen,
sizeof(sen));
}
-static int init_pmc(struct config *cfg, struct node *node, int
domain_number)
+static int init_pmc(struct config *cfg, struct node *node, int
domain_number,
+ int transport_specific)
{
char uds_local[MAX_IFNAME_SIZE + 1];
snprintf(uds_local, sizeof(uds_local), "/var/run/phc2sys.%d",
getpid());
- node->pmc = pmc_create(cfg, TRANS_UDS, uds_local, 0,
domain_number, 0, 1);
+ node->pmc = pmc_create(cfg, TRANS_UDS, uds_local, 0, domain_number,
+ transport_specific, 1);
+
if (!node->pmc) {
pr_err("failed to create pmc");
return -1;
@@ -1511,7 +1514,7 @@ int main(int argc, char *argv[])
print_set_level(print_level);
if (autocfg) {
- if (init_pmc(cfg, &node, domain_number))
+ if (init_pmc(cfg, &node, domain_number, transport_specific))
goto end;
if (auto_init_ports(&node, rt) < 0)
goto end;
@@ -1547,7 +1550,7 @@ int main(int argc, char *argv[])
r = -1;
if (wait_sync) {
- if (init_pmc(cfg, &node, domain_number))
+ if (init_pmc(cfg, &node, domain_number, transport_specific))
goto end;
while (is_running()) {
------------------------------------------------------------------------------
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