Pierre Pronchery f00d44deac Seed random() at least a bit before using random()
In fwknop, the values generated using random() are only used for the ID
field of raw IP packets. As indicated in the corresponding comments,
this value does not really matter, and it does not really have to be
random at all.

However, it should not hurt to initialize the entropy pool before
generating random values. arc4random() would be a better choice, but it
is not portable across the range of systems currently supported by
fwknop.
2018-08-06 19:20:35 +02:00
..
2018-07-17 16:45:46 +02:00
2016-01-01 02:13:21 +00:00
2016-01-02 20:18:12 -06:00
2016-01-01 02:13:21 +00:00
2016-01-01 02:13:21 +00:00
2016-01-01 02:13:21 +00:00