# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # #<----->patch-src_os-freebsd.h # echo x - patch-src_os-freebsd.h sed 's/^X//' >patch-src_os-freebsd.h << '6c070e7d133b346b84f3533633640131' X--- src/os-freebsd.h.orig<---->2009-10-05 22:07:06.000000000 +0400 X+++ src/os-freebsd.h<->2014-04-25 01:58:41.592218315 +0400 X@@ -14,9 +14,12 @@ X. X static inline u_short ip_data_len(const struct ip *ip) X { X-<---->return ip->ip_len; X+#if __FreeBSD_version >= 900044 X+<---->return ip->ip_len - (ip->ip_hl << 2); X+#else X+ <--->return ip->ip_len; X+#endif X } X- X static inline void ip_set_len(struct ip *ip, u_short len) X { X <---->ip->ip_len = len; 6c070e7d133b346b84f3533633640131 exit