netsniff-ng: if we cannot get intermediate pcap statistics, panic
commitc5b840ffcaf3eb1e22774bd357c1bcb5cd76a690
authorDaniel Borkmann <dborkman@redhat.com>
Sat, 16 Mar 2013 13:28:15 +0000 (16 14:28 +0100)
committerDaniel Borkmann <dborkman@redhat.com>
Sat, 16 Mar 2013 13:28:15 +0000 (16 14:28 +0100)
tree205ef0b9d81ba3f88675ba5f52215238e682a6a2
parentd040e1715d0afb74a474bcf1552e250cbceb8966
netsniff-ng: if we cannot get intermediate pcap statistics, panic

Before we do calculations on statistics, check if we really got them.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
netsniff-ng.c