1
0
mirror of https://github.com/prirun/p50em.git synced 2026-01-20 09:35:01 +00:00

Only dump packets when tracing w/RIO

This commit is contained in:
Jim 2011-08-16 15:31:07 -04:00
parent f742bc46a9
commit 51dfd5101b

View File

@ -351,6 +351,8 @@ char * pncdumppkt(unsigned char * pkt, int len) {
double ts;
struct timeval tv1;
if (!gvp->traceflags & T_RIO) return;
if (len > MAXPKTBYTES)
len = MAXPKTBYTES;
#if 0