aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/ioam/lib-pot/pot_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/ioam/lib-pot/pot_test.c')
-rw-r--r--src/plugins/ioam/lib-pot/pot_test.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/plugins/ioam/lib-pot/pot_test.c b/src/plugins/ioam/lib-pot/pot_test.c
index 48d5bd40..4f049be8 100644
--- a/src/plugins/ioam/lib-pot/pot_test.c
+++ b/src/plugins/ioam/lib-pot/pot_test.c
@@ -188,7 +188,8 @@ static int api_pot_profile_add (vat_main_t *vam)
mp->id = id;
mp->max_bits = bits;
- S; W;
+ S(mp);
+ W;
OUT:
vec_free(name);
@@ -228,7 +229,8 @@ static int api_pot_profile_activate (vat_main_t *vam)
clib_memcpy(mp->list_name, name, mp->list_name_len);
mp->id = id;
- S; W;
+ S(mp);
+ W;
OUT:
vec_free(name);
@@ -243,7 +245,8 @@ static int api_pot_profile_del (vat_main_t *vam)
M(POT_PROFILE_DEL, mp);
mp->list_name_len = 0;
- S; W;
+ S(mp);
+ W;
return 0;
}
@@ -264,7 +267,8 @@ static int api_pot_profile_show_config_dump (vat_main_t *vam)
mp->id = id;
- S; W;
+ S(mp);
+ W;
return 0;
}