1
0
mirror of https://github.com/google/uuid.git synced 2025-09-16 09:16:30 +02:00
This commit is contained in:
talis
2019-02-28 15:02:10 +02:00

View File

@@ -48,6 +48,7 @@ func setNodeInterface(name string) bool {
// does not specify a specific interface generate a random Node ID
// (section 4.1.6)
if name == "" {
ifname = "random"
randomBits(nodeID[:])
return true
}