Blame SOURCES/nmap-ipv6_literal_proxy.patch

02c682
diff --git a/ncat/ncat_connect.c b/ncat/ncat_connect.c
02c682
index 0968601..447aeb1 100644
02c682
--- a/ncat/ncat_connect.c
02c682
+++ b/ncat/ncat_connect.c
02c682
@@ -353,7 +353,7 @@ static const char *sock_to_url(char *host_str, unsigned short port)
02c682
            Snprintf(buf, sizeof(buf), "%s:%hu", host_str, port);
02c682
            break;
02c682
        case 2:
02c682
-           Snprintf(buf, sizeof(buf), "[%s]:%hu]", host_str, port);
02c682
+           Snprintf(buf, sizeof(buf), "[%s]:%hu", host_str, port);
02c682
     }
02c682
 
02c682
     return buf;