From 8d21da01a192e119f533a9447f2b0d844d1bb680 Mon Sep 17 00:00:00 2001 From: Andrew Ying Date: Fri, 15 Nov 2024 20:01:04 +0000 Subject: [PATCH] Fix 6WIND ping directive --- hyperglass/defaults/directives/sixwind_os.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hyperglass/defaults/directives/sixwind_os.py b/hyperglass/defaults/directives/sixwind_os.py index e024e72..1e06726 100644 --- a/hyperglass/defaults/directives/sixwind_os.py +++ b/hyperglass/defaults/directives/sixwind_os.py @@ -44,12 +44,12 @@ SixWind_Ping = BuiltinDirective( RuleWithIPv4( condition="0.0.0.0/0", action="permit", - command="cmd ping packetsize 256 source {source4} {target}", + command="cmd ping count 8 packetsize 256 source {source4} {target}", ), RuleWithIPv6( condition="::/0", action="permit", - command="cmd ping packetsize 256 ipv6 source {source6} {target}", + command="cmd ping count 8 packetsize 256 ipv6 source {source6} {target}", ), ], field=Text(description="IP Address, Prefix, or Hostname"),