diff options
author | 2020-05-28 15:48:28 +0000 | |
---|---|---|
committer | 2020-05-28 15:48:28 +0000 | |
commit | d06c4e1f5435c136423f9e1463cd963b162d217f (patch) | |
tree | b823f424d20d18dc3f34ad57b3389fdfc4c616a5 /regress/usr.bin/ssh/unittests/misc | |
parent | Reduce 'ifa' overloading by renaming some parameters 'address'. (diff) | |
download | wireguard-openbsd-d06c4e1f5435c136423f9e1463cd963b162d217f.tar.xz wireguard-openbsd-d06c4e1f5435c136423f9e1463cd963b162d217f.zip |
Make generation numbers unsigned and fill them using a random number
from the range [1..UINT_MAX] initially. On inode re-use increment
and on wrap refill from the range [1..UINT_MAX-1] to avoid
assigning UINT_MAX (the original value). Zero still means uninitialized.
ok millert@
Diffstat (limited to 'regress/usr.bin/ssh/unittests/misc')
0 files changed, 0 insertions, 0 deletions