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().
Loading
Please register or sign in to comment