Misc fixes and regression unbreaks

This commit is contained in:
Sergio R. Caprile committed 2026-10-16 13:51:58 -03:00
1 parent aa21ed443a
commit c5778aa608
3 files changed
+86 -36

No files matched your search

+1 -1
View File
@@ -269,8 +269,8 @@ bool mg_dnsc_init(struct mg_mgr *mgr, struct mg_dns *dnsc) {
if (dnsc->c == NULL) {
dnsc->c = mg_connect(mgr, dnsc->url, NULL, NULL);
if (dnsc->c == NULL) return false;
dnsc->c->pfn = dns_cb;
}
dnsc->c->pfn = dns_cb; // do it always, DHCP-assigned DNS bootstrap needs it
return true;
}