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
This commit is contained in:
@@ -73,7 +73,7 @@ sub arpnip {
|
||||
|
||||
|
||||
$expect->send("exit\n");
|
||||
$expect->soft_close();
|
||||
$expect->hard_close();
|
||||
|
||||
return @arpentries;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user