mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-27 07:21:18 +01:00
Merge pull request #1414 from sgso/fix-inaddr_any
pnet: Fix INADDR_ANY and INADDR_BROADCAST
This commit is contained in:
commit
e635332d50
@ -125,12 +125,12 @@ extern const struct sockaddr_in6 in6addr_loopback;
|
||||
/**
|
||||
* IPv4 local host address.
|
||||
*/
|
||||
#define INADDR_ANY {(in_addr_t)0x00000000}
|
||||
#define INADDR_ANY ((in_addr_t)0x00000000)
|
||||
|
||||
/**
|
||||
* IPv4 broadcast address.
|
||||
*/
|
||||
#define INADDR_BROADCAST {(in_addr_t)0xffffffff}
|
||||
#define INADDR_BROADCAST ((in_addr_t)0xffffffff)
|
||||
|
||||
/**
|
||||
* Multicast hop limit option name for getsockopt() or setsockopt()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user