]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Use Ip namespace in ModTcp
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 19 Apr 2010 11:07:59 +0000 (23:07 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 19 Apr 2010 11:07:59 +0000 (23:07 +1200)
src/log/ModTcp.cc

index 37cc8cbe790c07103f4fde22724f79e6b55baefb..9d5e330e68ef4da876cf95c76335de3e0459e516 100644 (file)
@@ -151,7 +151,7 @@ int
 logfile_mod_tcp_open(Logfile * lf, const char *path, size_t bufsz, int fatal_flag)
 {
     debugs(5, 3, "Tcp Open called");   
-    IpAddress addr;
+    Ip::Address addr;
        
     char *strAddr;
 
@@ -180,9 +180,9 @@ logfile_mod_tcp_open(Logfile * lf, const char *path, size_t bufsz, int fatal_fla
         }
     }
 
-safe_free(strAddr);
+    safe_free(strAddr);
 
-    IpAddress any_addr;
+    Ip::Address any_addr;
     any_addr.SetAnyAddr();
 
 #if USE_IPV6