Compare 'srcnat' when comparing policies. Fixes a bug where policy lookup could
authortobhe <tobhe@openbsd.org>
Wed, 14 Sep 2022 13:07:49 +0000 (13:07 +0000)
committertobhe <tobhe@openbsd.org>
Wed, 14 Sep 2022 13:07:49 +0000 (13:07 +0000)
commit5c4cedf27f7a9003364fc9ba3c9bcb9d1d320d4b
treebaf02f13c30375d633b1108c97066b900958dadf
parent22db7536566e67138da87c34518c89f5c4dbea4f
Compare 'srcnat' when comparing policies.  Fixes a bug where policy lookup could
not differentiate between similar policies that only differ in srcnat.  Also
include srcnat when logging flows or policies.

ok markus@
sbin/iked/ikev2.c
sbin/iked/policy.c