mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 13:11:28 +00:00
Removes extraneous bracket from literal IPv6 URLs. Closes #1237
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
#Nmap Changelog ($Id$); -*-text-*-
|
#Nmap Changelog ($Id$); -*-text-*-
|
||||||
|
|
||||||
|
o [Ncat][GH#1237] Fixed literal IPv6 URL format for connecting through
|
||||||
|
HTTP proxies. [Phil Dibowitz]
|
||||||
|
|
||||||
o [NSE][GH#1212] Updates vendors from ODVA list for enip-info. [NothinRandom]
|
o [NSE][GH#1212] Updates vendors from ODVA list for enip-info. [NothinRandom]
|
||||||
|
|
||||||
o [NSE][GH#1191] Add two common error strings that improve MySQL detection
|
o [NSE][GH#1191] Add two common error strings that improve MySQL detection
|
||||||
|
|||||||
@@ -353,7 +353,7 @@ static const char *sock_to_url(char *host_str, unsigned short port)
|
|||||||
Snprintf(buf, sizeof(buf), "%s:%hu", host_str, port);
|
Snprintf(buf, sizeof(buf), "%s:%hu", host_str, port);
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
Snprintf(buf, sizeof(buf), "[%s]:%hu]", host_str, port);
|
Snprintf(buf, sizeof(buf), "[%s]:%hu", host_str, port);
|
||||||
}
|
}
|
||||||
|
|
||||||
return buf;
|
return buf;
|
||||||
|
|||||||
Reference in New Issue
Block a user