Compile warning fixed in kernel interfaces.

This commit is contained in:
Tobias Brunner
2011-11-04 11:11:17 +01:00
parent f3eef176f4
commit 25d59e9e2d
2 changed files with 2 additions and 2 deletions
@@ -485,7 +485,7 @@ static policy_sa_t *policy_sa_create(private_kernel_netlink_ipsec_t *this,
}
else
{
INIT(policy);
INIT(policy, .priority = 0);
}
policy->type = type;
policy->sa = ipsec_sa_create(this, src, dst, mark, cfg);
@@ -378,7 +378,7 @@ static policy_sa_t *policy_sa_create(private_kernel_pfkey_ipsec_t *this,
}
else
{
INIT(policy);
INIT(policy, .priority = 0);
}
policy->type = type;
policy->sa = ipsec_sa_create(this, src, dst, cfg);