Skip to content

Commit a0020c9

Browse files
committed
reduce mod_epcap logging
1 parent 998a600 commit a0020c9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Linux/mod_epcap.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,9 @@ extern "C" {
117117
EVDebug(mod, 2, "Timestamp: %llu, Ifindex: %u, Ingress: %u, Routed: %u, Direction %s, Packet length: %u, Header: ",
118118
evt->timestamp, evt->ifindex, evt->ingress_ifindex, evt->routed_ifindex, evt->direction ? "egress" : "ingress", evt->pkt_len);
119119
int hdr_len = evt->pkt_len < MAX_PKT_HDR_LEN ? evt->pkt_len : MAX_PKT_HDR_LEN;
120-
u_char hex[128];
121-
printHex(evt->hdr, hdr_len, hex, 128, NO);
122-
EVDebug(mod, 0, (char *)hex);
120+
// u_char hex[128];
121+
// printHex(evt->hdr, hdr_len, hex, 128, NO);
122+
// EVDebug(mod, 0, (char *)hex);
123123
uint32_t in = evt->ingress_ifindex;
124124
uint32_t out = (evt->direction == 1) ? evt->ifindex : evt->routed_ifindex;
125125
SFLAdaptor *tapDev = adaptorByIndex(sp, evt->ifindex);

0 commit comments

Comments
 (0)