mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
75ed07acb6
PR: ports/72710 Submitted by: marck (maintainer) Obtained from: author
20 lines
481 B
C
20 lines
481 B
C
|
|
$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 */
|
|
}
|