From 6dd24b760023a829a7e427cfa93d90448b2ab982 Mon Sep 17 00:00:00 2001 From: Tim Horner Date: Tue, 27 Sep 2022 13:11:11 -0400 Subject: [PATCH] Add NetworkProtocol for IPENCAP support (#276) Co-authored-by: thorner --- firewall_rules.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/firewall_rules.go b/firewall_rules.go index 081c60412..3464dbb3f 100644 --- a/firewall_rules.go +++ b/firewall_rules.go @@ -10,9 +10,10 @@ type NetworkProtocol string // NetworkProtocol enum values const ( - TCP NetworkProtocol = "TCP" - UDP NetworkProtocol = "UDP" - ICMP NetworkProtocol = "ICMP" + TCP NetworkProtocol = "TCP" + UDP NetworkProtocol = "UDP" + ICMP NetworkProtocol = "ICMP" + IPENCAP NetworkProtocol = "IPENCAP" ) // NetworkAddresses are arrays of ipv4 and v6 addresses