From: Keith Busch Date: Tue, 16 Aug 2016 15:58:30 +0000 (-0600) Subject: Revert "fabrics: Allow ipv6 address resolution" X-Git-Tag: v0.9~14 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=6ea079ebd2079e9b699fe6f1cc2ecf45c7f320e5;p=users%2Fhch%2Fnvme-cli.git Revert "fabrics: Allow ipv6 address resolution" This reverts commit 6136d06f825be042b203579111c718bddf7c8670. --- diff --git a/fabrics.c b/fabrics.c index 961335d..8a174d4 100644 --- a/fabrics.c +++ b/fabrics.c @@ -438,8 +438,7 @@ static int connect_ctrl(struct nvmf_disc_rsp_page_entry *e) /* we can safely ignore the rest of the entries */ break; case NVMF_TRTYPE_RDMA: - if (e->adrfam != NVMF_ADDR_FAMILY_IP4 && - e->adrfam != NVMF_ADDR_FAMILY_IP6) { + if (e->adrfam != NVMF_ADDR_FAMILY_IP4) { fprintf(stderr, "skipping unsupported adrfam\n"); return -EINVAL; }