Prevent address underflow with /32 config address prefix.
authortobhe <tobhe@openbsd.org>
Mon, 31 May 2021 16:54:45 +0000 (16:54 +0000)
committertobhe <tobhe@openbsd.org>
Mon, 31 May 2021 16:54:45 +0000 (16:54 +0000)
commit4f76c89141550d613ad017f2957a9d365f07ddb1
tree6603f95ac72a414ec3ad5378c9378db695f3f98d
parent18a2fcc362706ef602904a164a8753d729982cc6
Prevent address underflow with /32 config address prefix.
Only skip .0 address if the pool is big enough.

ok patrick@
sbin/iked/ikev2.c