Mentions légales du service

Skip to content
Snippets Groups Projects
Commit f0ce1e23 authored by IMBERT Matthieu's avatar IMBERT Matthieu
Browse files

[gen] fix name of kavlan6 entries

parent 390f88e5
No related branches found
No related tags found
No related merge requests found
...@@ -168,7 +168,7 @@ def add_kavlan_ipv6s(h) ...@@ -168,7 +168,7 @@ def add_kavlan_ipv6s(h)
ip6 += '::' ip6 += '::'
end end
ip6 += '%x' % (ip4.split('.')[3].to_i) ip6 += '%x' % (ip4.split('.')[3].to_i)
hn['kavlan6'][iface][kvl_id] = ip6 hn['kavlan6'][iface]["kavlan-#{kvl_id}"] = ip6
end end
end end
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment