Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix some build warnings about "Old Style VLA"
[vpp.git]
/
src
/
plugins
/
ioam
/
lib-pot
/
pot.api
diff --git
a/src/plugins/ioam/lib-pot/pot.api
b/src/plugins/ioam/lib-pot/pot.api
index
f133748
..
45dc537
100644
(file)
--- a/
src/plugins/ioam/lib-pot/pot.api
+++ b/
src/plugins/ioam/lib-pot/pot.api
@@
-40,7
+40,7
@@
autoreply define pot_profile_add {
u64 lpc;
u64 polynomial_public;
u8 list_name_len;
u64 lpc;
u64 polynomial_public;
u8 list_name_len;
- u8 list_name[
0
];
+ u8 list_name[
list_name_len
];
};
/** \brief Proof of Transit(POT): Activate POT profile in the list
};
/** \brief Proof of Transit(POT): Activate POT profile in the list
@@
-53,7
+53,7
@@
autoreply define pot_profile_activate {
u32 context;
u8 id;
u8 list_name_len;
u32 context;
u8 id;
u8 list_name_len;
- u8 list_name[
0
];
+ u8 list_name[
list_name_len
];
};
/** \brief Delete POT Profile
};
/** \brief Delete POT Profile
@@
-66,7
+66,7
@@
autoreply define pot_profile_del {
u32 client_index;
u32 context;
u8 list_name_len;
u32 client_index;
u32 context;
u8 list_name_len;
- u8 list_name[
0
];
+ u8 list_name[
list_name_len
];
};
/** \brief Show POT Profiles
};
/** \brief Show POT Profiles