mirror of
				https://github.com/fog/fog-aws.git
				synced 2022-11-09 13:50:52 -05:00 
			
		
		
		
	Merge pull request #223 from engineyard/security_group_port_range_bug
Security Group perms of FromPort 0 and ToPort -1
This commit is contained in:
		
						commit
						c5b14f96d2
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		|  | @ -83,8 +83,8 @@ module Fog | |||
|           requires_one :name, :group_id | ||||
| 
 | ||||
|           ip_permission = { | ||||
|             'FromPort'   => range.min, | ||||
|             'ToPort'     => range.max, | ||||
|             'FromPort'   => range.begin, | ||||
|             'ToPort'     => range.end, | ||||
|             'IpProtocol' => options[:ip_protocol] || 'tcp' | ||||
|           } | ||||
| 
 | ||||
|  | @ -197,8 +197,8 @@ module Fog | |||
|           requires_one :name, :group_id | ||||
| 
 | ||||
|           ip_permission = { | ||||
|             'FromPort'   => range.min, | ||||
|             'ToPort'     => range.max, | ||||
|             'FromPort'   => range.begin, | ||||
|             'ToPort'     => range.end, | ||||
|             'IpProtocol' => options[:ip_protocol] || 'tcp' | ||||
|           } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Wesley Beary
						Wesley Beary