--------------------- PatchSet 5904 Date: 2003/08/27 13:08:54 Author: dwsquid Branch: icap-2_5 Tag: (none) Log: Use getOutgoingAddr(NULL) instead of 'no_addr' because commResetFD() fails when it tries to bind to 255.255.255.255. Members: src/icap_opt.c:1.1.2.4->1.1.2.5 Index: squid/src/icap_opt.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/Attic/icap_opt.c,v retrieving revision 1.1.2.4 retrieving revision 1.1.2.5 diff -u -r1.1.2.4 -r1.1.2.5 --- squid/src/icap_opt.c 21 Aug 2003 20:43:09 -0000 1.1.2.4 +++ squid/src/icap_opt.c 27 Aug 2003 13:08:54 -0000 1.1.2.5 @@ -1,6 +1,6 @@ /* - * $Id: icap_opt.c,v 1.1.2.4 2003/08/21 20:43:09 dwsquid Exp $ + * $Id: icap_opt.c,v 1.1.2.5 2003/08/27 13:08:54 dwsquid Exp $ * * DEBUG: section 81 Internet Content Adaptation Protocol (ICAP) Client OPTIONS * AUTHOR: Ralf Horstmann @@ -102,7 +102,7 @@ debug(81, 3) ("icapOptStart: starting OPTIONS request for %s (%s)\n", s->name, s->uri); fd = comm_open(SOCK_STREAM, 0, - no_addr, + getOutgoingAddr(NULL), 0, COMM_NONBLOCKING, "ICAP OPTIONS connection");