Netif fix byteorder

This PR proposes two possible solutions. Please choose one.
Yes, I will do this.