From 349af89931a79f2e654523a0a51105e8f8e52de1 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Mon, 12 Feb 2001 13:03:29 +0000 Subject: do not close un unbound socket!! --- mdk-stage1/probing.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mdk-stage1/probing.c b/mdk-stage1/probing.c index bddeb438d..46bc79acc 100644 --- a/mdk-stage1/probing.c +++ b/mdk-stage1/probing.c @@ -438,7 +438,6 @@ int net_device_available(char * device) { s = socket(AF_INET, SOCK_DGRAM, 0); if (s < 0) { - close(s); log_perror(device); return 0; } -- cgit v1.2.1