Pass correclty sized pointer to lookup_algorithm() in PF_KEY

This commit is contained in:
Martin Willi
2013-03-14 14:20:54 +01:00
parent 7eeeb1c702
commit 6b35ab84da
@@ -810,7 +810,7 @@ static kernel_algorithm_t compression_algs[] = {
static int lookup_algorithm(transform_type_t type, int ikev2)
{
kernel_algorithm_t *list;
int alg = 0;
u_int16_t alg = 0;
switch (type)
{