Skip to content
Snippets Groups Projects
Commit 2cb8cad6 authored by JB Cayrou's avatar JB Cayrou Committed by Jean-Baptiste Cayrou
Browse files

In Packet.show() and Packet.show2() add the "dump" argument to return the...

In Packet.show() and Packet.show2() add the "dump" argument to return the packet representation instead of printing it.

For example : print pkt.show(dump=True)

Add also 'indent', 'lvl' and 'label_lvl' arguments to show2() to be consistent with show().
parent db1af41c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment