From ccf41461a4d62a39af4b043ff8be951a8d17dd32 Mon Sep 17 00:00:00 2001 From: Dan Paquette Date: Thu, 11 Jun 2015 23:23:42 -0400 Subject: [PATCH] provider/aws: add ah and esp protocol integers for network acls and security groups --- builtin/providers/aws/network_acl_entry.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/builtin/providers/aws/network_acl_entry.go b/builtin/providers/aws/network_acl_entry.go index 4d5b2c22c..908bc885a 100644 --- a/builtin/providers/aws/network_acl_entry.go +++ b/builtin/providers/aws/network_acl_entry.go @@ -72,6 +72,9 @@ func flattenNetworkAclEntries(list []*ec2.NetworkACLEntry) []map[string]interfac func protocolIntegers() map[string]int { var protocolIntegers = make(map[string]int) protocolIntegers = map[string]int{ + // defined at https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml + "ah": 51, + "esp": 50, "udp": 17, "tcp": 6, "icmp": 1,