Skip to content

Commit

Permalink
Replace r_rand with os_random for LWIP_RAND() (esp8266#3499)
Browse files Browse the repository at this point in the history
  • Loading branch information
forkineye authored and igrr committed Aug 7, 2017
1 parent 8f04be4 commit d425438
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified tools/sdk/lib/liblwip_gcc.a
Binary file not shown.
2 changes: 1 addition & 1 deletion tools/sdk/lwip/include/lwip/igmp.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ void igmp_input(struct pbuf *p, struct netif *inp, ip_addr_t *dest)ICACHE_FLAS
err_t igmp_joingroup(ip_addr_t *ifaddr, ip_addr_t *groupaddr)ICACHE_FLASH_ATTR;
err_t igmp_leavegroup(ip_addr_t *ifaddr, ip_addr_t *groupaddr)ICACHE_FLASH_ATTR;
void igmp_tmr(void)ICACHE_FLASH_ATTR;
#define LWIP_RAND() r_rand()
#define LWIP_RAND() os_random()
#ifdef __cplusplus
}
#endif
Expand Down

0 comments on commit d425438

Please sign in to comment.