diff options
author | smiles1969 <smiles@ctctelcom.net> | 2017-06-15 15:37:09 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-15 15:37:09 -0500 |
commit | c085f4028c479e673ae5eb04ff4c12f73b4c6182 (patch) | |
tree | ae2e36d5c032b237f27d97195ef1928d70d932f1 | |
parent | 3192c105afad5be3d0ef8459a56a4898ef98e4f4 (diff) |
Ping repeat vs count
IOS-XR needs the count argument instead of repeat.
-rw-r--r-- | routers/cisco_iosxr.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/cisco_iosxr.php b/routers/cisco_iosxr.php index b381368..bd08614 100644 --- a/routers/cisco_iosxr.php +++ b/routers/cisco_iosxr.php @@ -28,7 +28,7 @@ final class IOSXR extends Router { if (match_ipv6($destination) || match_ipv4($destination) || (match_hostname($destination) && !$this->has_source_interface_id())) { - $ping = 'ping '.$destination. ' repeat 10'; + $ping = 'ping '.$destination. ' count 10'; } else if (match_hostname($destination)) { $hostname = $destination; $destination = hostname_to_ip_address($hostname, $this->config); |