[PATCH v3 28/51] show primitive as primitive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 python_modules/dissector.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python_modules/dissector.py b/python_modules/dissector.py
index 413aca4..a7add96 100644
--- a/python_modules/dissector.py
+++ b/python_modules/dissector.py
@@ -223,7 +223,7 @@ def write_wireshark_field(writer, container, member, t, tree, size, encoding='EN
     f_type = 'FT_NONE'
     base = 'BASE_NONE'
     vals = 'NULL'
-    if encoding == 'ENC_LITTLE_ENDIAN':
+    if t.is_primitive():
         assert(t.is_primitive())
         base = 'BASE_DEC'
         f_type = get_primitive_ft_type(t)
-- 
2.1.0

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]