Fix 6WIND ping directive

This commit is contained in:
Andrew Ying 2024-11-15 20:01:04 +00:00
parent ee7d8752f8
commit 8d21da01a1
Signed by: andrew
SSH key fingerprint: SHA256:6goOJXI6ckOipdsJS6oj5gbQYaRmCe37r7bSBnyQLyE

View file

@ -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"),