]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
rename do_reuse to opt_reuseaddr
authorwessels <>
Sat, 7 Feb 1998 00:30:51 +0000 (00:30 +0000)
committerwessels <>
Sat, 7 Feb 1998 00:30:51 +0000 (00:30 +0000)
src/comm.cc
src/globals.h
src/main.cc

index 1c74a48aab91e400a505d4a3c0ecf23f8ae08a55..f3185971e97714f01ad4b79cb5f384a5c3878e24 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: comm.cc,v 1.225 1998/02/05 20:33:58 wessels Exp $
+ * $Id: comm.cc,v 1.226 1998/02/06 17:30:51 wessels Exp $
  *
  * DEBUG: section 5     Socket Functions
  * AUTHOR: Harvest Derived
@@ -261,7 +261,7 @@ comm_open(int sock_type,
        commSetCloseOnExec(new_socket);
     if (port > (u_short) 0) {
        commSetNoLinger(new_socket);
-       if (do_reuse)
+       if (opt_reuseaddr)
            commSetReuseAddr(new_socket);
     }
     if (addr.s_addr != no_addr.s_addr) {
index 4ff50917a50386001200f7b6bf324a5b934248a7..77f8336f175d7240616da2eba75c23e76bb2cd65 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: globals.h,v 1.33 1998/02/04 23:34:28 wessels Exp $
+ * $Id: globals.h,v 1.34 1998/02/06 17:30:52 wessels Exp $
  */
 
 extern FILE *debug_log;                /* NULL */
@@ -48,7 +48,7 @@ extern int config_lineno;     /* 0 */
 extern int configured_once;    /* 0 */
 extern int debugLevels[MAX_DEBUG_SECTIONS];
 extern int do_mallinfo;                /* 0 */
-extern int do_reuse;           /* 1 */
+extern int opt_reuseaddr;      /* 1 */
 extern int hash_links_allocated;
 extern int icmp_sock;          /* -1 */
 extern int neighbors_do_private_keys;  /* 1 */
index ae6b2d91ce96dd786d273a0406da85841c9bb362..7d50aa3150c5206157a3b3f01f33fc67c802606c 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: main.cc,v 1.213 1998/02/04 23:50:26 wessels Exp $
+ * $Id: main.cc,v 1.214 1998/02/06 17:30:53 wessels Exp $
  *
  * DEBUG: section 1     Startup and Main Loop
  * AUTHOR: Harvest Derived
@@ -182,7 +182,7 @@ mainParseOptions(int argc, char *argv[])
            opt_no_daemon = 1;
            break;
        case 'R':
-           do_reuse = 0;
+           opt_reuseaddr = 0;
            break;
        case 'V':
            vhost_mode = 1;