Don't fail hard in ikev2_cp_fixaddr() if no address pool is found.
authortobhe <tobhe@openbsd.org>
Mon, 31 May 2021 17:10:14 +0000 (17:10 +0000)
committertobhe <tobhe@openbsd.org>
Mon, 31 May 2021 17:10:14 +0000 (17:10 +0000)
commite249fa472dde43f3918a1b48ce1ac4fe4cd422cf
tree4ddc3b3ea07aa4c2213d3bdd65b079151f8fc8b8
parentcf0fd9322cf73ae977e05f9e3c68f3369a794b04
Don't fail hard in ikev2_cp_fixaddr() if no address pool is found.
Fixes a bug where no flows are loaded when a single config address without
pool is configured.

ok patrick@
sbin/iked/ikev2.c