1
0
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:
Ludwig Ortmann 2014-07-14 16:12:05 +02:00
commit e635332d50

View File

@ -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()