]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
add client_netmask
authorwessels <>
Fri, 19 Jul 1996 02:25:17 +0000 (02:25 +0000)
committerwessels <>
Fri, 19 Jul 1996 02:25:17 +0000 (02:25 +0000)
src/comm.cc

index 1b43da276328034e86ecc21577402e35e8dc6793..cb4ec676bcafc5b1ca207958136a1d6635ebdaa7 100644 (file)
@@ -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;