File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -401,7 +401,7 @@ def _get_command_stdout(command, *args):
401401# over locally administered ones since the former are globally unique, but
402402# we'll return the first of the latter found if that's all the machine has.
403403#
404- # See https://en.wikipedia.org/wiki/MAC_address#Universal_vs._local
404+ # See https://en.wikipedia.org/wiki/MAC_address#Universal_vs._local_(U/L_bit)
405405
406406def _is_universal (mac ):
407407 return not (mac & (1 << 41 ))
@@ -615,7 +615,7 @@ def _random_getnode():
615615 # significant bit of the first octet". This works out to be the 41st bit
616616 # counting from 1 being the least significant bit, or 1<<40.
617617 #
618- # See https://en.wikipedia.org/wiki/ MAC_address#Unicast_vs._multicast
618+ # See https://en.wikipedia.org/w/index.php?title= MAC_address&oldid=1128764812#Universal_vs._local_(U/L_bit)
619619 import random
620620 return random .getrandbits (48 ) | (1 << 40 )
621621
You can’t perform that action at this time.
0 commit comments