From c0a395035d6cdfb3465a083b99c6f920b248ffe5 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sun, 7 Dec 2008 16:29:43 +0100 Subject: [PATCH] Do not close control socket when there is an ethtool ioctl problem: we want to use it for future ioctl... --- src/priv.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/priv.c b/src/priv.c index deeb2e19..9cd99f3e 100644 --- a/src/priv.c +++ b/src/priv.c @@ -319,7 +319,6 @@ asroot_ethtool() LLOG_DEBUG("[priv]: unable to ioctl ETHTOOL for %s", ifr.ifr_name); must_write(remote, &rc, sizeof(int)); - close(sock); return; } must_write(remote, &rc, sizeof(int)); -- 2.39.5