Repeating field value enhancement#1
Conversation
…nted the enable-debug option from working
…eating field value from being overwritten while processing a packet. 2. Return a list of values to Python 3. When FT_NONE field value, return fi->rep->representation when its not empty
|
Thanks Keith! I added these to the repo a long time ago, but finally pushed them to github, though not your exact commits. Let me know if you have any issues... |
|
Thanks for the great work! |
I've made an enhancement to sharktools so that repeating protocol
fields return to Python as a List. I store the values as GPtrArray
"tree_values", which replace the need for field_values_native and
field_values_native.
[
{ "frame.number": 1, "proto.field", "string"},
{ "frame.number": 2, "proto.field", ["string1","string2"]},
] //End List of Packets
I was also interested in returning summarized data from FT_NONE value
fields, so I included the fi->rep->representation when the value is
empty.
Finally, I fixed a few bugs in the "configure" script to make the
"enable-debug" option work.