kernel-pfkey: Use ipsec_sa_cfg_equals()

This commit is contained in:
Tobias Brunner
2016-06-08 16:12:52 +02:00
parent 87ed9a5ffb
commit 1ba2b015fa
@@ -352,7 +352,7 @@ static bool ipsec_sa_equals(ipsec_sa_t *sa, ipsec_sa_t *other_sa)
{
return sa->src->ip_equals(sa->src, other_sa->src) &&
sa->dst->ip_equals(sa->dst, other_sa->dst) &&
memeq(&sa->cfg, &other_sa->cfg, sizeof(ipsec_sa_cfg_t));
ipsec_sa_cfg_equals(&sa->cfg, &other_sa->cfg);
}
/**