1
0
mirror of https://github.com/rofl0r/proxychains-ng synced 2026-05-16 10:33:04 +08:00

debug: fix DUMP_PROXY_CHAIN() hack

This commit is contained in:
rofl0r
2020-09-20 17:00:10 +01:00
Unverified
parent acf2f4725d
commit 121c582d9c
2 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
# include "debug.h"
#include <arpa/inet.h>
void DUMP_PROXY_CHAIN(proxy_data *pchain, unsigned int count) {
void dump_proxy_chain(proxy_data *pchain, unsigned int count) {
char ip_buf[INET6_ADDRSTRLEN];
for (; count; pchain++, count--) {
if(!inet_ntop(pchain->ip.is_v6?AF_INET6:AF_INET,pchain->ip.addr.v6,ip_buf,sizeof ip_buf)) {