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); }