fix the  warning: inet_protocols: error message

Because we disabled ipv6 (later release we will probably add this but I
have no way of testing currently)