From: wessels <> Date: Fri, 19 Jul 1996 02:25:17 +0000 (+0000) Subject: add client_netmask X-Git-Tag: SQUID_3_0_PRE1~6036 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=108631c5051e3eb6cfdfab0a9c6528270fabcfb9;p=thirdparty%2Fsquid.git add client_netmask --- diff --git a/src/comm.cc b/src/comm.cc index 1b43da2763..cb4ec676bc 100644 --- a/src/comm.cc +++ b/src/comm.cc @@ -1,6 +1,6 @@ /* - * $Id: comm.cc,v 1.38 1996/07/15 23:12:06 wessels Exp $ + * $Id: comm.cc,v 1.39 1996/07/18 20:25:17 wessels Exp $ * * DEBUG: section 5 Socket Functions * AUTHOR: Harvest Derived @@ -428,6 +428,7 @@ int comm_accept(fd, peer, me) } } + P.sin_addr.s_addr &= getClientNetmask().s_addr; if (peer) *peer = P;