]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
s/comm_send/comm_udp_send/
authorhno <>
Mon, 21 Oct 2002 22:12:47 +0000 (22:12 +0000)
committerhno <>
Mon, 21 Oct 2002 22:12:47 +0000 (22:12 +0000)
src/icmp.cc
src/wccp.cc

index 1cd39844ba33b8eca4878ae6d4a5b82c3eadd08d..6ea9081737ee52f5a040b4f4a14a31d4d3538fda 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: icmp.cc,v 1.78 2002/10/21 06:43:07 adrian Exp $
+ * $Id: icmp.cc,v 1.79 2002/10/21 16:12:47 hno Exp $
  *
  * DEBUG: section 37    ICMP Routines
  * AUTHOR: Duane Wessels
@@ -115,7 +115,7 @@ icmpSend(pingerEchoData * pkt, int len)
        return;
     debug(37, 2) ("icmpSend: to %s, opcode %d, len %d\n",
        inet_ntoa(pkt->to), (int) pkt->opcode, pkt->psize);
-    x = comm_send(icmp_sock, (char *) pkt, len, 0);
+    x = comm_udp_send(icmp_sock, (char *) pkt, len, 0);
     if (x < 0) {
        debug(50, 1) ("icmpSend: send: %s\n", xstrerror());
        if (errno == ECONNREFUSED || errno == EPIPE) {
index 8450f886fbe53f3667420e388ed54b545ceebeb2..85a597df12aa6700b1cf93add7f850a854a67811 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: wccp.cc,v 1.28 2002/10/21 06:43:08 adrian Exp $
+ * $Id: wccp.cc,v 1.29 2002/10/21 16:12:47 hno Exp $
  *
  * DEBUG: section 80    WCCP Support
  * AUTHOR: Glenn Chisholm
@@ -270,7 +270,7 @@ wccpHereIam(void *voidnotused)
     debug(80, 6) ("wccpHereIam: Called\n");
 
     wccp_here_i_am.id = wccp_i_see_you.id;
-    comm_send(theOutWccpConnection,
+    comm_udp_send(theOutWccpConnection,
        &wccp_here_i_am,
        sizeof(wccp_here_i_am),
        0);
@@ -327,7 +327,7 @@ wccpAssignBuckets(void)
     wccp_assign_bucket->id = wccp_i_see_you.id;
     wccp_assign_bucket->number = wccp_i_see_you.number;
 
-    comm_send(theOutWccpConnection,
+    comm_udp_send(theOutWccpConnection,
        buf,
        wab_len + WCCP_BUCKETS + cache_len,
        0);