provider/aws: add ah and esp protocol integers for network acls and

security groups
This commit is contained in:
Dan Paquette 2015-06-11 23:23:42 -04:00
parent dd24b58bf3
commit ccf41461a4
1 changed files with 3 additions and 0 deletions

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,