The author of the code probably meant to dereference the pointer hd in order to get the size of the structure rather than the size of the pointer itself. Thanks dsdreamer.
Added MAC address override if UTMAC Sun Ray environment variable is set for linux, solaris and openindiana.
Increased squeezeplay win32 revision to 258.