Runs Wireshark on a list of packets. See :func:`tcpdump` for more parameter description. Note: this defaults to wait=False, to run Wireshark in the background.
(pktlist, wait=False, **kwargs)
| 2925 | |
| 2926 | @conf.commands.register |
| 2927 | def wireshark(pktlist, wait=False, **kwargs): |
| 2928 | # type: (List[Packet], bool, **Any) -> Optional[Any] |
| 2929 | """ |
| 2930 | Runs Wireshark on a list of packets. |
| 2931 | |
| 2932 | See :func:`tcpdump` for more parameter description. |
| 2933 | |
| 2934 | Note: this defaults to wait=False, to run Wireshark in the background. |
| 2935 | """ |
| 2936 | return tcpdump(pktlist, prog=conf.prog.wireshark, wait=wait, **kwargs) |
| 2937 | |
| 2938 | |
| 2939 | @conf.commands.register |