summaryrefslogtreecommitdiffstats
path: root/src/plugins/srv6-ad-flow/ad-flow.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/srv6-ad-flow/ad-flow.c')
-rw-r--r--src/plugins/srv6-ad-flow/ad-flow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/srv6-ad-flow/ad-flow.c b/src/plugins/srv6-ad-flow/ad-flow.c
index fd9706dabe1..56a7f643a00 100644
--- a/src/plugins/srv6-ad-flow/ad-flow.c
+++ b/src/plugins/srv6-ad-flow/ad-flow.c
@@ -366,7 +366,7 @@ unformat_srv6_ad_flow_localsid (unformat_input_t *input, va_list *args)
}
/* Allocate and initialize memory block for local SID parameters */
- ls_mem = clib_mem_alloc_aligned_at_offset (sizeof *ls_mem, 0, 0, 1);
+ ls_mem = clib_mem_alloc (sizeof *ls_mem);
clib_memset (ls_mem, 0, sizeof *ls_mem);
*plugin_mem_p = ls_mem;