Take flows into consideration for policy lookup as initiator.
authortobhe <tobhe@openbsd.org>
Mon, 1 Feb 2021 16:37:48 +0000 (16:37 +0000)
committertobhe <tobhe@openbsd.org>
Mon, 1 Feb 2021 16:37:48 +0000 (16:37 +0000)
commita5265846535cb18af074b09340caa0d0a4b8816c
treee992c050726c50ea03ac0dd8059d14ba87aa0bd8
parentb17f936e67043f9c006633bac4e3630f86dd05c2
Take flows into consideration for policy lookup as initiator.
Fixes a bug where policies that only differ in their flow
configuration lead to a handshake error.

Found by claudio@
ok patrick@
sbin/iked/iked.h
sbin/iked/ikev2.c
sbin/iked/policy.c