summaryrefslogtreecommitdiff
path: root/net/bird/files/patch-bsd-sysdep.h
diff options
context:
space:
mode:
authorAlexander V. Chernikov <melifaro@FreeBSD.org>2017-01-22 15:22:17 +0000
committerAlexander V. Chernikov <melifaro@FreeBSD.org>2017-01-22 15:22:17 +0000
commit70dfc01d71acb7daf4a39c6f91efb07e55a3f52a (patch)
tree569763d4a275671d303eedfa41a6696d1f297fdf /net/bird/files/patch-bsd-sysdep.h
parentRemove sed call that is no longer necessary. (diff)
Update to 1.6.3.
Approved by: az(implicit)
Notes
Notes: svn path=/head/; revision=432152
Diffstat (limited to 'net/bird/files/patch-bsd-sysdep.h')
-rw-r--r--net/bird/files/patch-bsd-sysdep.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/net/bird/files/patch-bsd-sysdep.h b/net/bird/files/patch-bsd-sysdep.h
deleted file mode 100644
index d09aac02867b..000000000000
--- a/net/bird/files/patch-bsd-sysdep.h
+++ /dev/null
@@ -1,23 +0,0 @@
---- sysdep/bsd/sysio.h 2014-07-10 01:40:13.000000000 +0400
-+++ sysdep/bsd/sysio.h 2014-09-27 12:12:09.000000000 +0400
-@@ -9,6 +9,9 @@
- #include <net/if_dl.h>
- #include <netinet/in_systm.h> // Workaround for some BSDs
- #include <netinet/ip.h>
-+#ifdef __FreeBSD__
-+#include <sys/param.h> // FreeBSD_version definition
-+#endif
-
-
- #ifdef __NetBSD__
-@@ -175,8 +178,8 @@
- ip->ip_src = ipa_to_in4(s->saddr);
- ip->ip_dst = ipa_to_in4(s->daddr);
-
--#ifdef __OpenBSD__
-- /* OpenBSD expects ip_len in network order, other BSDs expect host order */
-+#if defined __OpenBSD__ || (defined __FreeBSD__ && (__FreeBSD_version >= 1100030))
-+ /* OpenBSD and FreeBSD (since 11) expects ip_len in network order, other BSDs expect host order */
- ip->ip_len = htons(ip->ip_len);
- #endif
- }