diff options
author | Klement Sekera <klement.sekera@gmail.com> | 2024-04-02 12:51:10 +0200 |
---|---|---|
committer | Matthew Smith <mgsmith@netgate.com> | 2024-04-05 14:03:40 +0000 |
commit | e8fb3cfe892ca1c562d63eb8854386180a297d80 (patch) | |
tree | d98966ff14eaf33cbc4166a303ff40121597700a /src/plugins/dev_octeon/port.c | |
parent | 37d8c185b8902d9c69859160aee6e34ec72062fd (diff) |
api: fix [un]formatting in vpp/api/types.c
vl_api_prefix_t.len is 1 byte only, but unformat %d writes 4 bytes
add helper functions unformat_u(8|16) which don't write more than
appropriate amount of bytes
fix other similar errors in vpp/api/types.c
Type: fix
Change-Id: I74a61a377147c373f8c25ed083052b2287763c39
Signed-off-by: Klement Sekera <klement.sekera@gmail.com>
Diffstat (limited to 'src/plugins/dev_octeon/port.c')
0 files changed, 0 insertions, 0 deletions