From ab96b24cac87302c6f9313f392f1d5d712b3c43c Mon Sep 17 00:00:00 2001 From: Domingo Dirutigliano Date: Sun, 24 Sep 2023 22:54:59 +0200 Subject: [PATCH] add (todo): Switch to allow ip4/ip6 filters --- frontend/src/pages/Firewall/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/pages/Firewall/index.tsx b/frontend/src/pages/Firewall/index.tsx index a3a4a3f..5c39e6a 100644 --- a/frontend/src/pages/Firewall/index.tsx +++ b/frontend/src/pages/Firewall/index.tsx @@ -158,6 +158,7 @@ export const Firewall = () => { { value: "0.0.0.0/0", netint: "ANY IPv4", label: "0.0.0.0/0" }, { value: "::/0", netint: "ANY IPv6", label: "::/0" } ] + const ip_layer_not_filtered = item.ip_dst == "any" || item.ip_src == "any" const src_custom_int = customInt.map(v => v.value).includes(item.ip_src)?[]:[{ value: item.ip_src, netint: "SELECTED", label: item.ip_src }] const dst_custom_int = customInt.map(v => v.value).includes(item.ip_dst)?[]:[{ value: item.ip_src, netint: "SELECTED", label: item.ip_dst }] return
{ + Filter IP Layer:
}}