svn commit: r436571 - head/security/sslsplit/files
Gleb Smirnoff
glebius at FreeBSD.org
Tue Mar 21 08:26:02 UTC 2017
Author: glebius (src committer)
Date: Tue Mar 21 08:26:01 2017
New Revision: 436571
URL: https://svnweb.freebsd.org/changeset/ports/436571
Log:
The patch file was missed in previous commit.
Added:
head/security/sslsplit/files/patch-proc.c (contents, props changed)
Added: head/security/sslsplit/files/patch-proc.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/sslsplit/files/patch-proc.c Tue Mar 21 08:26:01 2017 (r436571)
@@ -0,0 +1,26 @@
+--- proc.c.orig 2017-03-21 00:13:06.166567000 -0700
++++ proc.c 2017-03-21 00:14:38.957451000 -0700
+@@ -175,7 +175,11 @@
+
+ struct xinpgen *xig, *exig, *txig;
+ struct xtcpcb *xtp;
++#if __FreeBSD_version >= 1200026
++ struct xinpcb *inp;
++#else
+ struct inpcb *inp;
++#endif
+ struct xsocket *so;
+
+ if (proc_freebsd_getfiles(&xfiles, &nxfiles) == -1) {
+@@ -197,7 +201,11 @@
+ return -1;
+ }
+ inp = &xtp->xt_inp;
++#if __FreeBSD_version >= 1200026
++ so = &inp->xi_socket;
++#else
+ so = &xtp->xt_socket;
++#endif
+
+ if (!(so->so_state & SS_ISCONNECTED))
+ /* we are only interested in connected sockets */
More information about the svn-ports-all
mailing list