From 2d9f7b29711e05ef680d111c1555ec51bf4e8310 Mon Sep 17 00:00:00 2001 From: Brian Wellington Date: Mon, 26 Jun 2000 17:53:25 +0000 Subject: [PATCH] Having a close(SOCK) seems to help mirepoix for some reason. --- bin/tests/system/testsock.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/tests/system/testsock.pl b/bin/tests/system/testsock.pl index 5cc0af4a5d..9fcde977f8 100644 --- a/bin/tests/system/testsock.pl +++ b/bin/tests/system/testsock.pl @@ -15,7 +15,7 @@ # ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS # SOFTWARE. -# $Id: testsock.pl,v 1.5 2000/06/25 02:30:18 gson Exp $ +# $Id: testsock.pl,v 1.6 2000/06/26 17:53:25 bwelling Exp $ # Test whether the interfaces on 10.53.0.* are up. @@ -35,4 +35,5 @@ for ($id = 1 ; $id < 6 ; $id++) { bind(SOCK, $sa) or die sprintf("$0: bind(%s, %d): $!\n", inet_ntoa($addr), $port); + close(SOCK); }