View | Details | Raw Unified | Return to bug 193243
Collapse All | Expand All

(-)net/freevrrpd/files/patch-vrrp_network.c (+11 lines)
Line 0 Link Here
1
--- vrrp_network.c.orig	2014-05-04 01:27:14.212855362 +0200
2
+++ vrrp_network.c	2014-05-04 01:27:50.289959806 +0200
3
@@ -113,7 +113,7 @@
4
 	 iph->ip_hl = 5;
5
 	 iph->ip_v = 4;
6
 	 iph->ip_tos = 0;
7
-#if defined(__FreeBSD__) || defined(__NetBSD__)
8
+#if (defined(__FreeBSD__) && (__FreeBSD_version < 1100030)) || defined(__NetBSD__)
9
 	 iph->ip_len = sizeof(struct ip) + vrrp_network_vrrphdr_len(vr) + vrrp_ah_ahhdr_len(vr);
10
 #else
11
 	 iph->ip_len = htons(sizeof(struct ip) + vrrp_network_vrrphdr_len(vr) + vrrp_ah_ahhdr_len(vr));

Return to bug 193243