From 16e451c77c685337fd90dc86ea7bc46228c666de Mon Sep 17 00:00:00 2001 From: Christian Ramseyer Date: Tue, 28 Jan 2020 17:43:06 +0100 Subject: [PATCH] Change IOSXR Expect close method * we noticed some hanging SSH connections with soft_close (probably due to fds not being closed properly), so switched to hard_close instead --- lib/App/Netdisco/SSHCollector/Platform/IOSXR.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/App/Netdisco/SSHCollector/Platform/IOSXR.pm b/lib/App/Netdisco/SSHCollector/Platform/IOSXR.pm index de1e784c..5f229baa 100644 --- a/lib/App/Netdisco/SSHCollector/Platform/IOSXR.pm +++ b/lib/App/Netdisco/SSHCollector/Platform/IOSXR.pm @@ -73,7 +73,7 @@ sub arpnip { $expect->send("exit\n"); - $expect->soft_close(); + $expect->hard_close(); return @arpentries; }