1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

F #5027: fix network iterator for security groups

This commit is contained in:
Javi Fontan 2017-02-27 19:42:10 +01:00
parent 29163c70f0
commit daa99a2432

View File

@ -84,7 +84,7 @@ module SGIPTables
sets = []
the_nets.each do |n|
if IPAddr.new(the_nets[n]).ipv6?
if IPAddr.new(n).ipv6?
command = :ip6tables
family = "inet6"
else
@ -127,7 +127,7 @@ module SGIPTables
sets = []
the_nets.each do |n|
if IPAddr.new(the_nets[n]).ipv6?
if IPAddr.new(n).ipv6?
command = :ip6tables
family = "inet6"
else