BSD: Use struct ip rather than struct iphdr
As we define __FAVOR_BSD use the BSD IP header. Compile tested on NetBSD, DragonFlyBSD, and Linux. Signed-off-by: Roy Marples <roy@marples.name>
This commit is contained in:
parent
3ea58a0548
commit
a8b00423ea
7 changed files with 95 additions and 91 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue