Skip to content

Commit bbd6f75

Browse files
forkineyed-a-v
authored andcommitted
Replace r_rand with os_random for LWIP_RAND() (esp8266#3499)
1 parent 950bb04 commit bbd6f75

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

tools/sdk/lib/liblwip_gcc.a

1.13 KB
Binary file not shown.

tools/sdk/lwip/include/lwip/igmp.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ void igmp_input(struct pbuf *p, struct netif *inp, ip_addr_t *dest)ICACHE_FLAS
9696
err_t igmp_joingroup(ip_addr_t *ifaddr, ip_addr_t *groupaddr)ICACHE_FLASH_ATTR;
9797
err_t igmp_leavegroup(ip_addr_t *ifaddr, ip_addr_t *groupaddr)ICACHE_FLASH_ATTR;
9898
void igmp_tmr(void)ICACHE_FLASH_ATTR;
99-
#define LWIP_RAND() r_rand()
99+
#define LWIP_RAND() os_random()
100100
#ifdef __cplusplus
101101
}
102102
#endif

0 commit comments

Comments
 (0)