diff options
author | Ole Troan <ot@cisco.com> | 2019-12-07 00:39:49 +0100 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2019-12-07 11:46:04 +0000 |
commit | 3f2d5718b824a10a247ef08e23824d365f2f1626 (patch) | |
tree | da4dba0d78b9c66a6c5ede06b61c4fc64970b7a1 /src/tools/vppapigen | |
parent | 7929f9f5c612b22097d874001e93f5bb38e5ed4f (diff) |
lacp: fix control_ping from plugins
Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: I030f75234a346ef6a20640c1a0ed65f4934867f2
Diffstat (limited to 'src/tools/vppapigen')
-rw-r--r-- | src/tools/vppapigen/vppapigen_c.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tools/vppapigen/vppapigen_c.py b/src/tools/vppapigen/vppapigen_c.py index e15a1417643..e84732e3f48 100644 --- a/src/tools/vppapigen/vppapigen_c.py +++ b/src/tools/vppapigen/vppapigen_c.py @@ -586,6 +586,10 @@ def generate_include_types(s, module, stream): write('} vl_api_%s_t;\n' % o.name) + for t in s['Define']: + write('#define VL_API_{ID}_CRC "{n}_{crc:08x}"\n' + .format(n=t.name, ID=t.name.upper(), crc=t.crc)) + write("\n#endif\n") |