On non-Windows systems, try /dev/random and, if it exists, use it,
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 31 Oct 2008 20:11:14 +0000 (20:11 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 31 Oct 2008 20:11:14 +0000 (20:11 +0000)
commit0eefb11d0f7d568329917129128b50a67a27e3f2
tree312bde4d5da4b007f80e800dab68d6442aaa3b44
parent419ae7684d7a155d43fc26c840b296873b338650
On non-Windows systems, try /dev/random and, if it exists, use it,
otherwise fall back on time().

Print error messages to stderr, and put the name of the program in them.
Exit with 1 on command-line syntax errors, 2 on other errors.

Fix indentation.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26661 f5534014-38df-0310-8fa8-9805f1628bb7
randpkt.c