Hi,

after i finally successfully changed from LwIP 1.3.2 to 1.4.0, i struggle on (actually) two compile errors in our NAT implementation in a project.

The two lines are:

  nat_entry->dest = iphdr->dest;
  nat_entry->source = iphdr->src;

which gives back the compiler error "incompatible types when assigning to type 'struct ip_addr' from type 'ip_addr_p_t'"

In IP.h i see that the definition of "src" and "dest" in the struct "ip_adr" have changed from "ip_addr" to "ip_addr_p_t", which is the address in a packed format.

How can i convert this "packet" format into the good old "ip_addr"-format to get the errors away from those lines above?

Thanks,
Marco

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to