Skip to content

Commit

Permalink
netpacket/packet.h > linux/if_packet.h
Browse files Browse the repository at this point in the history
  • Loading branch information
ZerBea committed Apr 12, 2022
1 parent 0e4158f commit 76fb696
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hcxdumptool.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <inttypes.h>
#include <linux/ethtool.h>
#include <linux/sockios.h>
#include <linux/if_packet.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <arpa/inet.h>
Expand All @@ -38,7 +39,6 @@
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <netpacket/packet.h>
#include <openssl/conf.h>
#include <openssl/err.h>
#include <openssl/crypto.h>
Expand Down Expand Up @@ -7134,7 +7134,9 @@ static struct packet_mreq mr;
static struct ethtool_drvinfo drvinfo;
static struct iw_param txpower;
static double lfin;
#ifdef PACKET_IGNORE_OUTGOING
static int enable = 1;
#endif

fd_socket = 0;
memset(&mac_orig, 0, 6);
Expand Down

0 comments on commit 76fb696

Please sign in to comment.