Hi,

In pmc_create(...)

                if (transport_type == TRANS_UDS) {
                                pmc->port_identity.portNumber = getpid();

When portNumber is UInteger16

However in new Linux systems, I notice that the process ID can be larger than 
16 bits.

Do you think we need to bitwise here with 0xffff?


With best regards,
Erez Geva

AURELLY TECHNOLOGIES GmbH
External service provider at Siemens AG
Digital Industries
Process Automation
Software House Nbg
DI PA DCP R&D 3
Gleiwitzer Str. 555
90475 Nuremberg, Germany
mailto:erez.geva....@siemens.com
[cid:image001.png@01D793A0.0936DD80]
www.aurelly.com<https://www.aurelly.com/>
CEO: Jens Stötzner, company's place of business: Nürnberg,
VAT identification: DE 255071685, Commercial register No.: HRB: 15550
[cid:image002.png@01D793A0.0936DD80] Please consider the environment before 
printing this email
Important notice: This e-mail and any attachment thereof contain corporate 
proprietary information. If you have received it by mistake, please notify us 
immediately by reply e-mail and delete this e-mail and its attachments from 
your system. Thank you.

_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to