[IPV6]: make the protocol initialization to return an error code