Some macros only contained rules for ICMP echo requests, but not their
ICMPv6 counterparts. Add them, so they work properly with IPv6 setups.

Signed-off-by: Stefan Hanreich <s.hanre...@proxmox.com>
---
 proxmox-ve-config/resources/macros.json | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/proxmox-ve-config/resources/macros.json 
b/proxmox-ve-config/resources/macros.json
index 37032c0..f90fb38 100644
--- a/proxmox-ve-config/resources/macros.json
+++ b/proxmox-ve-config/resources/macros.json
@@ -579,6 +579,10 @@
       {
         "icmp-type": "echo-request",
         "proto": "icmp"
+      },
+      {
+        "icmp-type": "echo-request",
+        "proto": "icmpv6"
       }
     ],
     "desc": "ICMP echo request"
@@ -858,6 +862,10 @@
       {
         "icmp-type": "echo-request",
         "proto": "icmp"
+      },
+      {
+        "icmp-type": "echo-request",
+        "proto": "icmpv6"
       }
     ],
     "desc": "Traceroute (for up to 30 hops) traffic"
-- 
2.39.5


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to