mirror of
https://github.com/sonertari/SSLproxy
synced 2024-11-04 12:00:15 +00:00
Fix global opts lprocinfo
This commit is contained in:
parent
f42e682f59
commit
c9769b0d89
@ -650,7 +650,7 @@ pxy_log_content_inbuf(pxy_conn_ctx_t *ctx, struct evbuffer *inbuf, int req)
|
|||||||
int
|
int
|
||||||
pxy_prepare_logging_local_procinfo(pxy_conn_ctx_t *ctx)
|
pxy_prepare_logging_local_procinfo(pxy_conn_ctx_t *ctx)
|
||||||
{
|
{
|
||||||
if (ctx->opts->lprocinfo) {
|
if (ctx->global->lprocinfo) {
|
||||||
/* fetch process info */
|
/* fetch process info */
|
||||||
if (proc_pid_for_addr(&ctx->lproc.pid,
|
if (proc_pid_for_addr(&ctx->lproc.pid,
|
||||||
(struct sockaddr*)&ctx->lproc.srcaddr,
|
(struct sockaddr*)&ctx->lproc.srcaddr,
|
||||||
|
Loading…
Reference in New Issue
Block a user