This commit is contained in:
Vlad 2021-07-26 01:23:10 +03:00 committed by GitHub
parent 28c34bd101
commit e78ba96f3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1345,6 +1345,8 @@ int net_addr_from_str(NETADDR *addr, const char *string)
str++;
if(parse_uint16(&addr->port, &str))
return -1;
if(*str != '\0')
return -1;
}
else
return -1;