Change RandMAC function call to function pointer

Fixes an earlier problem that I caused by not passing a function pointer.