summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-02-12 13:03:29 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-02-12 13:03:29 +0000
commit349af89931a79f2e654523a0a51105e8f8e52de1 (patch)
tree3f35808619d78c2946e3c301cd556eb9e87d480c
parentf231801ac16e75e9b81d7e54fe56944a054ec97b (diff)
downloaddrakx-349af89931a79f2e654523a0a51105e8f8e52de1.tar
drakx-349af89931a79f2e654523a0a51105e8f8e52de1.tar.gz
drakx-349af89931a79f2e654523a0a51105e8f8e52de1.tar.bz2
drakx-349af89931a79f2e654523a0a51105e8f8e52de1.tar.xz
drakx-349af89931a79f2e654523a0a51105e8f8e52de1.zip
do not close un unbound socket!!
-rw-r--r--mdk-stage1/probing.c1
1 files changed, 0 insertions, 1 deletions
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;
}