rtems5: correct ifreq_size()
This commit is contained in:
committed by
Brendan Chandler
parent
75548c95d1
commit
bb860ae001
@@ -72,7 +72,7 @@ typedef int osiSockOptMcastTTL_t;
|
||||
# define SHUT_RDWR 2
|
||||
#endif
|
||||
|
||||
#define ifreq_size(pifreq) (sizeof(pifreq->ifr_name))
|
||||
#define ifreq_size(pifreq) (pifreq->ifr_addr.sa_len + sizeof(pifreq->ifr_name))
|
||||
|
||||
#ifndef IPPORT_USERRESERVED
|
||||
#define IPPORT_USERRESERVED 5000
|
||||
|
||||
Reference in New Issue
Block a user