I have ascertained that just before calling ip_output function, i.e. netif->output(netif, p, dest), the length of the payload was 336 bytes but what I see on wireshark is only 96 bytes, which is why the DHCP request is coming out malformed - it is truncated.
-- Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html _______________________________________________ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users