]> granicus.if.org Git - pdns/commit
Move from random() to dns_random()
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Thu, 14 Feb 2019 15:15:03 +0000 (16:15 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Thu, 14 Feb 2019 15:15:03 +0000 (16:15 +0100)
commit45d4e670f20d866afe3ea2fb11f434ae942cfe6e
tree988b1f380b50884f5cd105e43e325e4847d63eae
parentdf136790a6984484937473f05fbfa73f23193958
Move from random() to dns_random()

An alternative would be to make sure srandom() is always called.
But since dns_random() has the nice uniform upperbound API, I have
chosen to use that one.
pdns/lua-record.cc