diff --git a/platform/src/packet_adapter.c b/platform/src/packet_adapter.c index 70eab10..b869d83 100644 --- a/platform/src/packet_adapter.c +++ b/platform/src/packet_adapter.c @@ -373,8 +373,8 @@ int main(int argc, char **argv) int rv; int opt; uint16_t queue = 1; - struct nfq_handle *handle; - struct nfq_q_handle *q_handle; + struct nfq_handle *handle = NULL; + struct nfq_q_handle *q_handle = NULL; char buf[65535] __attribute__((aligned)); is_dump_packet_info = 0;