]> www.infradead.org Git - users/hch/nvme-cli.git/commitdiff
Revert "fabrics: Allow ipv6 address resolution"
authorKeith Busch <keith.busch@intel.com>
Tue, 16 Aug 2016 15:58:30 +0000 (09:58 -0600)
committerKeith Busch <keith.busch@intel.com>
Tue, 16 Aug 2016 15:58:30 +0000 (09:58 -0600)
This reverts commit 6136d06f825be042b203579111c718bddf7c8670.

fabrics.c

index 961335d45bd21457a701eb4839fe409ea2872b07..8a174d41b82b55a624950dcd916480db6db531eb 100644 (file)
--- 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;
                }