[PATCH] BSD: Use struct ip rather than struct iphdr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



    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



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux