Merge pull request #2321 from dpaq/f-add-additonal-protocol-integers-for-acls-and-security-groups

provider/aws: add ah and esp protocol integers for network acls and sg
This commit is contained in:
Paul Hinze 2015-06-26 09:19:07 -05:00
commit ad0bfd9cfb

View File

@ -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,