Terminate address filter with OS_AF_NULL instead of 0 (AF_UNSPEC)
Signed-off-by: Jeroen Koekkoek <jeroen@koekkoek.nl>
This commit is contained in:
parent
40b7b5f423
commit
8fc9535316
7 changed files with 13 additions and 10 deletions
|
@ -13,7 +13,7 @@
|
|||
|
||||
int ddsi_eth_enumerate_interfaces(ddsi_tran_factory_t fact, os_ifaddrs_t **ifs)
|
||||
{
|
||||
int afs[] = { AF_INET, 0 };
|
||||
int afs[] = { AF_INET, OS_AF_NULL };
|
||||
|
||||
(void)fact;
|
||||
|
||||
|
|
|
@ -349,7 +349,7 @@ static void ddsi_raweth_deinit(void)
|
|||
|
||||
static int ddsi_raweth_enumerate_interfaces (ddsi_tran_factory_t factory, os_ifaddrs_t **interfs)
|
||||
{
|
||||
int afs[] = { AF_PACKET, 0 };
|
||||
int afs[] = { AF_PACKET, OS_AF_NULL };
|
||||
|
||||
(void)factory;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue