Changing endinanness handling of ip address