Having a close(SOCK) seems to help mirepoix for some reason.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user