X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=blobdiff_plain;f=src%2FPVE%2FTools.pm;h=0d03b047624e0d3c668ba3fbd2c5fa19cf571050;hp=68c4e68ba934370c4ec05aca5c6cfeee5ca0a516;hb=d743b69c4b16bab91a703a5a51c2ff65fb0fe31c;hpb=e561bc74bb1089e50e59da9a3fd609e9bba36d70 diff --git a/src/PVE/Tools.pm b/src/PVE/Tools.pm index 68c4e68..0d03b04 100644 --- a/src/PVE/Tools.pm +++ b/src/PVE/Tools.pm @@ -983,7 +983,7 @@ sub random_ether_addr { my ($seconds, $microseconds) = gettimeofday; - my $rand = Digest::SHA::sha1_hex($$, rand(), $seconds, $microseconds); + my $rand = Digest::SHA::sha1($$, rand(), $seconds, $microseconds); # clear multicast, set local id vec($rand, 0, 8) = (vec($rand, 0, 8) & 0xfe) | 2;