Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/google/uuid
Browse files Browse the repository at this point in the history
  • Loading branch information
trabetti committed Feb 28, 2019
2 parents 63b66dd + 0cd6bf5 commit dc0f887
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions node.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit dc0f887

Please sign in to comment.