Merge changes I57cb2003,I569d2b81,I01a10e36 into rvc-dev am: ce7d0ba607
Change-Id: Ib9381a872980db7d506625e7645618e80f375290
This commit is contained in:
commit
b3b15d1738
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@
|
|||
int fatal(const char*);
|
||||
|
||||
int open_raw_socket(const char* ifname __unused, uint8_t hwaddr[ETH_ALEN], int if_index) {
|
||||
int s = socket(PF_PACKET, SOCK_DGRAM, 0);
|
||||
int s = socket(PF_PACKET, SOCK_DGRAM | SOCK_CLOEXEC, 0);
|
||||
if (s < 0) return fatal("socket(PF_PACKET)");
|
||||
|
||||
struct sockaddr_ll bindaddr = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue