[PATCH v3 2/2] nsiproxy: Only set the endpoint count from udp_endpoint_enumerate_all when appropriate.