nbd: strip braces from literal IPv6 address in URI
Otherwise they would get passed to getaddrinfo and fail with: address resolution failed for [::1]🔢 Name or service not known (Broken by commit v1.4.0-736-gf17c90be) Signed-off-by: NJán Tomko <jtomko@redhat.com> Cc: qemu-stable@nongnu.org Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com> (cherry picked from commit 23307908) Signed-off-by: NMichael Roth <mdroth@linux.vnet.ibm.com>
Showing
想要评论请 注册 或 登录