fb7a037bc8
Fix inet_ntop()/inet_pton() being called with an incorrect argument for IPv6 addresses. On Linux, the offset of the sin_addr and sin6_addr fields differ and the confusion on the inet_ntop() call produces an erroneous IPv6 string representation such as "0:0:2001:db8::". This is visible on the UI, Settings -> Advanced -> Network -> Bind to IP. The same goes for the inet_pton() call.