api: enable trace / replay flag on messages 58/32358/2
authorOle Troan <ot@cisco.com>
Tue, 18 May 2021 09:52:47 +0000 (11:52 +0200)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Thu, 22 Jul 2021 08:59:24 +0000 (08:59 +0000)
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

src/tools/vppapigen/vppapigen_c.py

index 3d3854b..8564ade 100644 (file)
@@ -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))