You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Leaving this issue here so we don't forget about it.
EDIT: Also it's off by one (should be 0x10000):
Random.int bound returns a random integer between 0 (inclusive)
and bound (exclusive). bound must be greater than 0 and less than 2^30.
@hannesm further reports:
Server code (and resolver) should also unify the use of random, maybe sth in dns.mli should be around that takes a rng and produces a proper id.
The text was updated successfully, but these errors were encountered:
from robur-coop/udns#9
@cfcs reports:
I took a shortcut here: https://github.com/mirage/ocaml-dns/blob/master/client/dns_client.ml#L20
Leaving this issue here so we don't forget about it.
EDIT: Also it's off by one (should be 0x10000):
@hannesm further reports:
Server code (and resolver) should also unify the use of random, maybe sth in dns.mli should be around that takes a rng and produces a proper id.
The text was updated successfully, but these errors were encountered: