mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-14 19:03:20 +00:00
Minimise build size
This commit is contained in:
1 parent
300011a882
commit
aae179177c
12 files changed
+92
-65
No files matched your search
@@ -422,8 +422,6 @@ static void onstatechange(struct mg_tcpip_if *ifp) {
|
||||
mg_tcpip_arp_request(ifp, ifp->gw, NULL); // unsolicited GW ARP request
|
||||
} else if (ifp->state == MG_TCPIP_STATE_UP) {
|
||||
srand((unsigned int) mg_millis());
|
||||
} else if (ifp->state == MG_TCPIP_STATE_DOWN) {
|
||||
MG_ERROR(("Link down"));
|
||||
}
|
||||
mg_tcpip_call(ifp, MG_TCPIP_EV_STATE_CHANGE, &ifp->state);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user