kernel-pfkey: Use ipsec_sa_cfg_equals()
This commit is contained in:
@@ -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) &&
|
return sa->src->ip_equals(sa->src, other_sa->src) &&
|
||||||
sa->dst->ip_equals(sa->dst, other_sa->dst) &&
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user