check_dhcp: Make xid a bit more random
commit8672529b37fc73fbcc15cb2b2ba9b677f37dac5e
authorHolger Weiss <holger@zedat.fu-berlin.de>
Fri, 16 Sep 2016 07:43:04 +0000 (16 09:43 +0200)
committerHolger Weiss <holger@zedat.fu-berlin.de>
Fri, 16 Sep 2016 07:43:04 +0000 (16 09:43 +0200)
tree9a73e784466efaa452f8dec312b0520e0836abc4
parent99f5be29927de6863849441b8af4b794033cc8bd
check_dhcp: Make xid a bit more random

Don't just use the current time(2) to seed the PRNG that generates the
xid.  A DHCP server might be checked multiple times per second.
plugins-root/check_dhcp.c