The src/source-erf-dag.c code was not compiling. It looks like some stats counters were added but not tested as the dereferences are incorrect.
break;
case TYPE_ETH:
if (dr->lctr) {
- StatsAddUI64(tv, ewtn->drops, ntohs(dr->lctr));
+ StatsAddUI64(ewtn->tv, ewtn->drops, ntohs(dr->lctr));
}
break;
default:
p->ts.tv_sec++;
}
- StatsIncr(tv, ewtn->packets);
+ StatsIncr(ewtn->tv, ewtn->packets);
ewtn->bytes += wlen;
if (TmThreadsSlotProcessPkt(ewtn->tv, ewtn->slot, p) != TM_ECODE_OK) {