As we define __FAVOR_BSD use the BSD IP header. Compile tested on NetBSD, DragonFlyBSD and Linux. Signed-off-by: Roy Marples <roy@xxxxxxxxxxxx> diff --git a/src/common/dhcp.h b/src/common/dhcp.h index e38512c24..7dc67d5b8 100644 --- a/src/common/dhcp.h +++ b/src/common/dhcp.h @@ -39,7 +39,7 @@ struct dhcp_data { } STRUCT_PACKED; struct bootp_pkt { - struct iphdr iph; + struct ip iph; struct udphdr udph; u8 op; u8 htype; _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap