Currently we are trying to unmarshal data to an uninitialized struct whose net.HardwareAddr fields are set to nil. In this case the copy() function silently does nothing.
Initialize the fields to slices of bytes of length 6 before copying data to them.
…tch fields
Currently we are trying to unmarshal data to an uninitialized struct whose net.HardwareAddr fields are set to nil. In this case the copy() function silently does nothing.
Initialize the fields to slices of bytes of length 6 before copying data to them.
This commit is derived from #30.