From 976a0ed6ac7e57709c5917bfe7d9c8141e80e901 Mon Sep 17 00:00:00 2001 From: Ole Troan Date: Tue, 18 May 2021 11:52:47 +0200 Subject: 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 Change-Id: Ib7625a57d3a263aac154682007459648953b1803 --- src/tools/vppapigen/vppapigen_c.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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)) -- cgit 1.2.3-korg