Skip to content

Commit

Permalink
Add NetworkProtocol for IPENCAP support (#276)
Browse files Browse the repository at this point in the history
Co-authored-by: thorner <[email protected]>
  • Loading branch information
thorn3r and thorner authored Sep 27, 2022
1 parent 26898b0 commit 6dd24b7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions firewall_rules.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6dd24b7

Please sign in to comment.