Merge pull request #1099 from fengzeroz/main

fix compile fail by gcc5
This commit is contained in:
fengzeroz
2023-03-07 15:59:25 +08:00
committed by GitHub
+4 -1
View File
@@ -25,7 +25,6 @@
#include <unistd.h>
#include <arpa/inet.h>
#include <linux/if_ether.h>
#include <net/ethernet.h>
#include <net/if.h>
#include <netpacket/packet.h>
@@ -36,6 +35,10 @@
#include "utils/log.h"
#include "utils/utextend.h"
#ifndef ETH_P_LLDP
#define ETH_P_LLDP 0x88CC
#endif
typedef struct neu_conn_eth_sub {
uint16_t protocol;
char mac[ETH_ALEN];