Netif fix byteorder

This PR proposes two possible solutions. Please choose one.
Why is a memcpy needed here?