From 259fa6337dd9a95e3cffc74aba3e43765e402057 Mon Sep 17 00:00:00 2001 From: hno <> Date: Mon, 21 Oct 2002 22:12:47 +0000 Subject: [PATCH] s/comm_send/comm_udp_send/ --- src/icmp.cc | 4 ++-- src/wccp.cc | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/icmp.cc b/src/icmp.cc index 1cd39844ba..6ea9081737 100644 --- a/src/icmp.cc +++ b/src/icmp.cc @@ -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) { diff --git a/src/wccp.cc b/src/wccp.cc index 8450f886fb..85a597df12 100644 --- a/src/wccp.cc +++ b/src/wccp.cc @@ -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); -- 2.47.2