From dfa92be65ccf220fa0f68ea37e141badaa21bb8c Mon Sep 17 00:00:00 2001 From: santosomar Date: Sun, 31 Mar 2019 13:39:20 -0400 Subject: [PATCH] Update pyshark_example.py --- python_ruby_and_bash/pyshark_example.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python_ruby_and_bash/pyshark_example.py b/python_ruby_and_bash/pyshark_example.py index 6b8c93c..c2b5e33 100644 --- a/python_ruby_and_bash/pyshark_example.py +++ b/python_ruby_and_bash/pyshark_example.py @@ -10,5 +10,6 @@ import pyshark +capture = pyshark.LiveCapture(interface='eth0') for packet in capture.sniff_continuously(packet_count=5): print ('You just captured a packet:', packet)