diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-10-15 12:13:38 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-10-15 12:13:38 +0000 |
commit | 75ed07acb6dc91d53369e748523053d4ac3a291d (patch) | |
tree | 72493ac9da996b53ed93a03956d5f817fa775aaa /www/oops | |
parent | 8e3b0d7cfeb496ab9ddbe931dcd45337b1dbabbc (diff) |
Notes
Diffstat (limited to 'www/oops')
-rw-r--r-- | www/oops/Makefile | 2 | ||||
-rw-r--r-- | www/oops/files/patch-src_modules_redir.c | 19 |
2 files changed, 20 insertions, 1 deletions
diff --git a/www/oops/Makefile b/www/oops/Makefile index c14e82090ec4..618149316d4c 100644 --- a/www/oops/Makefile +++ b/www/oops/Makefile @@ -7,7 +7,7 @@ PORTNAME= oops PORTVERSION= ${OOPSVERSION} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www MASTER_SITES= http://oops-cache.org/ DISTNAME= ${PORTNAME}-${OOPSVERSION} diff --git a/www/oops/files/patch-src_modules_redir.c b/www/oops/files/patch-src_modules_redir.c new file mode 100644 index 000000000000..c931cd3b0345 --- /dev/null +++ b/www/oops/files/patch-src_modules_redir.c @@ -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 */ + } |