Date: Tue, 21 Mar 2017 08:26:01 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r436571 - head/security/sslsplit/files Message-ID: <201703210826.v2L8Q17B001634@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703210826.v2L8Q17B001634>