From 709f876947bcd95a99ce8c8898e64c5effd4f6b7 Mon Sep 17 00:00:00 2001 From: Tim Wojtulewicz Date: Tue, 22 Jul 2025 10:23:35 -0700 Subject: [PATCH] af_packet: Fix initialization --- src/iosource/af_packet/src/AF_Packet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iosource/af_packet/src/AF_Packet.h b/src/iosource/af_packet/src/AF_Packet.h index b5253e7af7..971c468459 100644 --- a/src/iosource/af_packet/src/AF_Packet.h +++ b/src/iosource/af_packet/src/AF_Packet.h @@ -63,7 +63,7 @@ private: int socket_fd = -1; RX_Ring *rx_ring = nullptr; - struct pcap_pkthdr current_hdr = {0}; + struct pcap_pkthdr current_hdr = {}; struct InterfaceInfo { int index = -1;