Print this page
3087 libuuid has a lot of dependencies

*** 22,31 **** --- 22,32 ---- * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. * Copyright 2012 Milan Jurik. All rights reserved. * Copyright 2015 Joyent, Inc. All rights reserved. * Copyright 2014 Andrew Stormont. + * Copyright 2015 Nexenta Systems, Inc. All rights reserved. */ /* * The copyright in this file is taken from the original Leach & Salz * UUID specification, from which this implementation is derived.
*** 186,201 **** if (get_ethernet_address(system_node) != 0) { arc4random_buf(node, 6); (void) memcpy(system_node->nodeID, node, 6); /* ! * use 8:0:20 with the multicast bit set ! * to avoid namespace collisions. */ system_node->nodeID[0] = 0x88; - system_node->nodeID[1] = 0x00; - system_node->nodeID[2] = 0x20; } } /* * Formats a UUID, given the clock_seq timestamp, and node address. --- 187,200 ---- if (get_ethernet_address(system_node) != 0) { arc4random_buf(node, 6); (void) memcpy(system_node->nodeID, node, 6); /* ! * use 8:.. with the multicast bit set ! * to reduce namespace collisions. */ system_node->nodeID[0] = 0x88; } } /* * Formats a UUID, given the clock_seq timestamp, and node address.