diff options
author | Cy Schubert <cy@FreeBSD.org> | 2018-12-06 20:11:15 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2018-12-06 20:11:15 +0000 |
commit | 409a482cecbacae673bade20e7a5d4ceed6db327 (patch) | |
tree | 141fc52370da7fc21f8adc8e2596f66d3e415146 /net/hostapd/files/patch-src_common_dhcp.h | |
parent | Security update to 11.5.3. (diff) |
Update 2.6 --> 2.7
Diffstat (limited to 'net/hostapd/files/patch-src_common_dhcp.h')
-rw-r--r-- | net/hostapd/files/patch-src_common_dhcp.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/net/hostapd/files/patch-src_common_dhcp.h b/net/hostapd/files/patch-src_common_dhcp.h new file mode 100644 index 000000000000..f88d1921a380 --- /dev/null +++ b/net/hostapd/files/patch-src_common_dhcp.h @@ -0,0 +1,25 @@ +--- src/common/dhcp.h.orig 2018-12-02 11:34:59.000000000 -0800 ++++ src/common/dhcp.h 2018-12-06 00:01:11.429254000 -0800 +@@ -9,6 +9,22 @@ + #ifndef DHCP_H + #define DHCP_H + ++/* ++ * Translate Linux to FreeBSD ++ */ ++#define iphdr ip ++#define ihl ip_hl ++#define verson ip_v ++#define tos ip_tos ++#define tot_len ip_len ++#define id ip_id ++#define frag_off ip_off ++#define ttl ip_ttl ++#define protocol ip_p ++#define check ip_sum ++#define saddr ip_src ++#define daddr ip_dst ++ + #include <netinet/ip.h> + #if __FAVOR_BSD + #include <netinet/udp.h> |