Added a few lines of code that prints the captured packets to System.out