Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions pcap-netfilter-linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
#include <config.h>

#include "pcap-int.h"
#include "diag-control.h"

#include <errno.h>
#include <stdlib.h>
Expand Down Expand Up @@ -351,10 +350,6 @@ netfilter_send_config_msg(const pcap_t *handle, uint16_t msg_type, int ack, u_in
struct sockaddr_nl snl;
static unsigned int seq_id;

if (!seq_id)
DIAG_OFF_NARROWING
seq_id = time(NULL);
DIAG_ON_NARROWING
++seq_id;

nlh->nlmsg_len = NLMSG_LENGTH(sizeof(struct nfgenmsg));
Expand Down