History log of /netbsd-6-1-5-RELEASE/crypto/dist/ipsec-tools/src/racoon/sockmisc.c
Revision Date Author Comments
# 1.19 14-Mar-2011 tteras

Explicitly compare return value of cmpsaddr() against a return value
define to make it more obvious what is the intended action. One more
return value is also added, to fix comparison of security policy
descriptors. Namely, getsp() should not allow wildcard matching (as the
comment says, it does exact matching) - otherwise we get problems when
kernel has generic policy with no ports, and a second similar policy with
ports.