mirror of
https://github.com/3proxy/3proxy.git
synced 2025-02-23 10:35:40 +08:00
support %i in loformat
This commit is contained in:
parent
cd35215532
commit
84664a203b
@ -300,6 +300,8 @@ with space and all time based elemnts are in local time zone.
|
||||
%R - Remote IP
|
||||
.br
|
||||
%r - Remote port
|
||||
.br
|
||||
%i - Internal IP used to accept client connection
|
||||
.br
|
||||
%e - External IP used to establish connection
|
||||
.br
|
||||
|
@ -502,6 +502,9 @@ int dobuf2(struct clientparam * param, unsigned char * buf, const unsigned char
|
||||
case 'e':
|
||||
i += myinet_ntop(*SAFAMILY(¶m->sinsl), SAADDR(¶m->sinsl), (char *)buf + i, 64);
|
||||
break;
|
||||
case 'i':
|
||||
i += myinet_ntop(*SAFAMILY(¶m->sincl), SAADDR(¶m->sinsl), (char *)buf + i, 64);
|
||||
break;
|
||||
case 'C':
|
||||
i += myinet_ntop(*SAFAMILY(¶m->sincr), SAADDR(¶m->sincr), (char *)buf + i, 64);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user