mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-23 11:44:53 +00:00
Fix rnd stuff in vc98 image
This commit is contained in:
1 parent
bd1271dd41
commit
1db25117b0
4 files changed
+4
-6
No files matched your search
+1
-1
@@ -556,7 +556,7 @@ static void rx_icmp(struct mg_tcpip_if *ifp, struct pkt *pkt) {
|
||||
|
||||
static void setdns4(struct mg_tcpip_if *ifp, uint32_t *ip);
|
||||
|
||||
static inline bool dhcp_opt_len_ok(uint8_t len, uint8_t *p, uint8_t *end) {
|
||||
static bool dhcp_opt_len_ok(uint8_t len, uint8_t *p, uint8_t *end) {
|
||||
return (len >= 4 && (len & 3) == 0 && p + 6 < end);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user