diff options
author | Ole Troan <ot@cisco.com> | 2021-05-18 11:52:47 +0200 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2021-07-22 08:59:24 +0000 |
commit | 976a0ed6ac7e57709c5917bfe7d9c8141e80e901 (patch) | |
tree | 8fae9c1227c9ba086637475a3fc61321ab6aee73 | |
parent | 8561e73e55879cf76bfe4f57f4234974d0c1512b (diff) |
api: enable trace / replay flag on messages
For an unknown reason the trace/replay flags where missed
when moving API message registration code from manually
cut and pasted to aut-generated.
Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: Ib7625a57d3a263aac154682007459648953b1803
-rw-r--r-- | src/tools/vppapigen/vppapigen_c.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/vppapigen/vppapigen_c.py b/src/tools/vppapigen/vppapigen_c.py index 3d3854bcacb..8564ade1080 100644 --- a/src/tools/vppapigen/vppapigen_c.py +++ b/src/tools/vppapigen/vppapigen_c.py @@ -1344,6 +1344,8 @@ def generate_c_boilerplate(services, defines, counters, file_crc, ' .cleanup = vl_noop_handler,\n' ' .endian = vl_api_{n}_t_endian,\n' ' .print = vl_api_{n}_t_print,\n' + ' .traced = 1,\n' + ' .replay = 1,\n' ' .is_autoendian = {auto}}};\n' .format(n=s.caller, ID=s.caller.upper(), auto=d.autoendian)) |