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:
parent
29163c70f0
commit
daa99a2432
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user