Hi,
This is a small update to the dynamic dns query id patch, to take care of the below two aspects.
Explicitly include stdint header as the logic uses INT64_MAX, just in case for future, even though the chain of headers from existing includes brings in the definition indirectly as of now.
Cross check for time gap between prngplus reseeding, periodically, has the internal state is being consumed, so that if there is too much time gap, then prng reseeding can be forced, before the normal reseed window is reached. This is useful for long running programs which trigger dns queries only intermittently.
There is a issue with the path related to non availability of realtime clock in this patch. I have forgotten to store last returned dummy clock value and then increment the same to simulate a running dummy clock in this case for the logic.
I will release the updated patch later today