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)