FreeBSD Bugzilla – Attachment 47449 Details for
Bug 72710
[patch] www/oops for multiple redir modules
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.08 KB, created by
Dmitry Morozovsky
on 2004-10-14 22:40:30 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Dmitry Morozovsky
Created:
2004-10-14 22:40:30 UTC
Size:
1.08 KB
patch
obsolete
>Index: www/oops/Makefile >=================================================================== >RCS file: /home/ncvs/ports/www/oops/Makefile,v >retrieving revision 1.32 >diff -u -r1.32 Makefile >--- www/oops/Makefile 12 Oct 2004 15:03:52 -0000 1.32 >+++ www/oops/Makefile 14 Oct 2004 21:25:31 -0000 >@@ -7,7 +7,7 @@ > > PORTNAME= oops > PORTVERSION= ${OOPSVERSION} >-PORTREVISION= 2 >+PORTREVISION= 3 > CATEGORIES= www > MASTER_SITES= http://oops-cache.org/ > DISTNAME= ${PORTNAME}-${OOPSVERSION} >--- /dev/null Fri Oct 15 01:25:56 2004 >+++ www/oops/files/patch-src_modules_redir.c Sun Oct 3 19:26:59 2004 >@@ -0,0 +1,19 @@ >+ >+$FreeBSD$ >+ >+--- src/modules/redir.c.orig Thu Oct 16 18:21:59 2003 >++++ src/modules/redir.c Sun Oct 3 17:23:08 2004 >+@@ -349,11 +349,9 @@ >+ >+ /* if this is not on my port */ >+ while( n ) { >+- if ( mp->port == port >+- && ( (mp->in_addr.s_addr == INADDR_ANY) >+- ||(mp->in_addr.s_addr == rq->my_sa.sin_addr.s_addr) ) ) >+- break; >++ if ( mp->so == rq->accepted_so ) >++ break; >+ n--;mp++; >+ } >+ if ( !n ) return(MOD_CODE_OK); /* not my */ >+ }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 72710
: 47449