github.com/google/uuid v1.1.1

This commit is contained in:
Jordan Liggitt
2019-06-22 11:40:22 -07:00
parent 7a667f87ba
commit 29853a1976
50 changed files with 94 additions and 60 deletions

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
}