mirror of
https://github.com/3proxy/3proxy.git
synced 2025-02-23 18:45: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
|
%R - Remote IP
|
||||||
.br
|
.br
|
||||||
%r - Remote port
|
%r - Remote port
|
||||||
|
.br
|
||||||
|
%i - Internal IP used to accept client connection
|
||||||
.br
|
.br
|
||||||
%e - External IP used to establish connection
|
%e - External IP used to establish connection
|
||||||
.br
|
.br
|
||||||
|
@ -502,6 +502,9 @@ int dobuf2(struct clientparam * param, unsigned char * buf, const unsigned char
|
|||||||
case 'e':
|
case 'e':
|
||||||
i += myinet_ntop(*SAFAMILY(¶m->sinsl), SAADDR(¶m->sinsl), (char *)buf + i, 64);
|
i += myinet_ntop(*SAFAMILY(¶m->sinsl), SAADDR(¶m->sinsl), (char *)buf + i, 64);
|
||||||
break;
|
break;
|
||||||
|
case 'i':
|
||||||
|
i += myinet_ntop(*SAFAMILY(¶m->sincl), SAADDR(¶m->sinsl), (char *)buf + i, 64);
|
||||||
|
break;
|
||||||
case 'C':
|
case 'C':
|
||||||
i += myinet_ntop(*SAFAMILY(¶m->sincr), SAADDR(¶m->sincr), (char *)buf + i, 64);
|
i += myinet_ntop(*SAFAMILY(¶m->sincr), SAADDR(¶m->sincr), (char *)buf + i, 64);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user