Hallo,
I updated from lwip v1.4.1 to the latest GIT version.
Now I have a problem with DNS in line 791:
err = udp_sendto(dns_pcbs[pcb_idx], p, &dns_servers[entry->server_idx],
DNS_SERVER_PORT);
the problem is, that pcb_idx equals DNS_MAX_SOURCE_PORTS. This value is set
in dns_call_found()
if (dns_table[idx].pcb_idx < DNS_MAX_SOURCE_PORTS) {
/* if we come here, the pcb is not used any more and can be removed */
udp_remove(dns_pcbs[dns_table[idx].pcb_idx]);
dns_pcbs[dns_table[idx].pcb_idx] = NULL;
dns_table[idx].pcb_idx = DNS_MAX_SOURCE_PORTS;
Best regards,
Sandra
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users