summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/acl/hash_lookup.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/acl/hash_lookup.c b/src/plugins/acl/hash_lookup.c
index dcc5f791d4b..c8941148036 100644
--- a/src/plugins/acl/hash_lookup.c
+++ b/src/plugins/acl/hash_lookup.c
@@ -610,17 +610,17 @@ assign_mask_type_index_to_pae(acl_main_t *am, u32 lc_index, int is_ip6, applied_
hash_ace_info_t *ace_info = vec_elt_at_index(ha->rules, pae->hash_ace_info_index);
ace_mask_type_entry_t *mte;
- fa_5tuple_t *mask;
+ fa_5tuple_t mask;
/*
* Start taking base_mask associated to ace, and essentially copy it.
* With TupleMerge we will assign a relaxed mask here.
*/
mte = vec_elt_at_index(am->ace_mask_type_pool, ace_info->base_mask_type_index);
- mask = &mte->mask;
+ mask = mte->mask;
if (am->use_tuple_merge)
- pae->mask_type_index = tm_assign_mask_type_index(am, mask, is_ip6, lc_index);
+ pae->mask_type_index = tm_assign_mask_type_index(am, &mask, is_ip6, lc_index);
else
- pae->mask_type_index = assign_mask_type_index(am, mask);
+ pae->mask_type_index = assign_mask_type_index(am, &mask);
}
static void
#n143'>143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202