Commit 158b428a authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Not sure what I was thinking: Have SLT_SessOpen log the fd#, not

the xid, we already have that.
parent 58596b27
......@@ -197,8 +197,8 @@ ses_vsl_socket(struct sess *sp, const char *lsockname)
strcpy(laddr, "-");
strcpy(lport, "-");
}
VSL(SLT_SessOpen, sp->vxid, "%u %s %s %s %s %s %.6f",
sp->vxid, sp->addr, sp->port, lsockname, laddr, lport, sp->t_open);
VSL(SLT_SessOpen, sp->vxid, "%s %s %s %s %s %.6f %d",
sp->addr, sp->port, lsockname, laddr, lport, sp->t_open, sp->fd);
}
/*--------------------------------------------------------------------
......
......@@ -73,6 +73,7 @@ SLTM(SessOpen, "Client connection opened",
"lsock\n Listen socket\n\n"
"laddr\n Local IPv4/6 address ('-' if !$log_local_addr)\n\n"
"lport\n Local TCP port ('-' if !$log_local_addr)\n\n"
"fd\n File descriptor number"
)
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment