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:
committed by
GitHub
parent
8dc35a1b84
commit
16e451c77c
@@ -73,7 +73,7 @@ sub arpnip {
|
|||||||
|
|
||||||
|
|
||||||
$expect->send("exit\n");
|
$expect->send("exit\n");
|
||||||
$expect->soft_close();
|
$expect->hard_close();
|
||||||
|
|
||||||
return @arpentries;
|
return @arpentries;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user