mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
fix(ci): eui64 address calculation
This commit is contained in:
parent
0fc4345634
commit
c74790c6dd
2 changed files with 2 additions and 2 deletions
2
lib.nix
2
lib.nix
|
|
@ -15,7 +15,7 @@
|
|||
part = List.index parts;
|
||||
part0 = part: let
|
||||
nibble1' = UInt.FromHexDigit (Str.index part 1);
|
||||
nibble1 = UInt.or' 2 nibble1';
|
||||
nibble1 = UInt.xor 2 nibble1';
|
||||
nibble0 = Str.index part 0;
|
||||
in
|
||||
nibble0 + UInt.toHexLower nibble1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue