mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-22 20:54:49 +09:00
Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
This commit is contained in:
1 parent
51f42a7c28
commit
0dc2a5de4e
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -550,7 +550,7 @@ EOT
|
||||
mlow = mac[0]
|
||||
eui64 = [
|
||||
4261412864 + (mlow & 0x00FFFFFF),
|
||||
((mac[1]+512)<<16) + ((mlow & 0xFF000000)>>16) + 0x000000FF
|
||||
((mac[1]^0x0200)<<16) + ((mlow & 0xFF000000)>>16) + 0x000000FF
|
||||
]
|
||||
|
||||
return (eui64[1] << 32) + eui64[0]
|
||||
|
||||
@@ -211,7 +211,7 @@ module OneDBFsck
|
||||
|
||||
g_pref = ipv6[:global_prefix]
|
||||
u_pref = ipv6[:ula_prefix]
|
||||
l_pref = ipv6[:linked_prefix]
|
||||
l_pref = ipv6[:link_prefix]
|
||||
|
||||
unless g_pref.nil?
|
||||
pref = (g_pref << 64) | ip6_suffix
|
||||
|
||||
Reference in new issue
Block a user