1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

B #5473: SG not working for IPv6 (#1374)

Signed-off-by: Ricardo Diaz <rdiaz@opennebula.io>
This commit is contained in:
Ricardo Diaz 2021-07-23 19:54:42 +02:00 committed by GitHub
parent de6241a9bf
commit ef2bfcdc2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -405,6 +405,7 @@ module SGIPTables
if bridged
nris << "#{base_br} --physdev-out #{nic[:tap]} -j #{chain_in}"
nri6s << "#{base_br} --physdev-out #{nic[:tap]} -j #{chain_in}"
else
if !nic[:ip].nil?
nris << "-I #{GLOBAL_CHAIN} -d #{nic[:ip]} -j #{chain_in}"