Fix for PaloAlto sshcolletor module (P. Soppe)

This commit is contained in:
Oliver Gorwits
2018-01-05 20:19:27 +00:00
parent 9aaa1fc3f6
commit 30ccff3561
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
2.038005 - 2018-01-05
[BUG FIXES]
* Fix for PaloAlto sshcolletor module (P. Soppe)
2.038004 - 2018-01-05
[ENHANCEMENTS]

View File

@@ -45,9 +45,9 @@ sub arpnip{
my $prompt = qr/> \r?$/;
($pos, $error, $match, $before, $after) = $expect->expect(20, -re, $prompt);
$expect->send("set cli pager off\n");
$expect->send("set cli pager off\r\n");
($pos, $error, $match, $before, $after) = $expect->expect(10, -re, $prompt);
$expect->send("show arp all\n");
$expect->send("show arp all\r\n");
($pos, $error, $match, $before, $after) = $expect->expect(10, -re, $prompt);
my @arpentries;