[Spice-devel] [PATCH v6 11/42] dissector: Change code generated index type

Frediano Ziglio fziglio at redhat.com
Thu Aug 13 06:11:50 PDT 2015


Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 python_modules/dissector.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/python_modules/dissector.py b/python_modules/dissector.py
index f6bcf46..0f12315 100644
--- a/python_modules/dissector.py
+++ b/python_modules/dissector.py
@@ -241,6 +241,8 @@ def write_protocol_parser(writer, proto):
 
     decorate_writer(writer)
 
+    writer.index_type = 'guint32'
+
     write_parser_helpers(writer)
 
     # put fields declaration first
-- 
2.4.3



More information about the Spice-devel mailing list