Thursday, June 7, 2018 6:18 PM
> In unicast_client_set_renewal() we take the minimum of the old
> renewal_tmo and the new one.
>
> tmo = now.tv_sec + duration;
> if (!master->renewal_tmo || tmo < master->renewal_tmo) {
> master->renewal_tmo = tmo;
> }
> Then, when the deadline occurs, we renew everything.
Ah, missed that tmo in the if case. Then it is crystal clear.
> Not necessarily. It depends on the granting server. Our client
> simply renews everything at the earliest deadline in any case.
Ok, thanks for the clarification. Lot of code so I missed that tmo check. Then
my earlier comment regarding this function is incorrect 😊
/Anders
------------------------------------------------------------------------------
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