diff --git a/src/decode-icmpv4.h b/src/decode-icmpv4.h index 411c3ab9cc..d4e1ef350d 100644 --- a/src/decode-icmpv4.h +++ b/src/decode-icmpv4.h @@ -128,7 +128,7 @@ typedef struct ICMPV4Hdr_ { uint8_t type; uint8_t code; - uint16_t csum; + uint16_t checksum; /* XXX incomplete */ } ICMPV4Hdr; diff --git a/src/decode-pppoe.c b/src/decode-pppoe.c index dd70cec111..edf7302312 100644 --- a/src/decode-pppoe.c +++ b/src/decode-pppoe.c @@ -21,9 +21,7 @@ */ void DecodePPPoE(ThreadVars *t, Packet *p, uint8_t *pkt, uint16_t len, PacketQueue *pq) { -#ifdef DEBUG - printf("DecodePPPoEPacket\n"); -#endif + PerfCounterIncr(COUNTER_DECODER_PPPOE, t->pca); if (len < PPPOE_HEADER_LEN) { DECODER_SET_EVENT(p, PPPOE_PKT_TOO_SMALL);