mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-07-05 20:41:39 -07:00
stdint fixes
This commit is contained in:
parent
11176a1080
commit
4c6cbf03a7
1 changed files with 1 additions and 1 deletions
|
@ -1215,7 +1215,7 @@ char *hydra_address2string(char *address) {
|
|||
#ifdef AF_INET6
|
||||
if (address[0] == 16) {
|
||||
memcpy(&target6.sin6_addr, &address[1], 16);
|
||||
ipstring[0] = '[
|
||||
ipstring[0] = '[';
|
||||
inet_ntop(AF_INET6, &target6.sin6_addr, ipstring + 1, sizeof(ipstring) - 1);
|
||||
if (address[17] != 0) {
|
||||
strcat(ipstring, "%");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue