[MINOR] Manage unix socket source field on session dump on sock stats
diff --git a/src/dumpstats.c b/src/dumpstats.c
index f7f3276..735f83b 100644
--- a/src/dumpstats.c
+++ b/src/dumpstats.c
@@ -2693,6 +2693,9 @@
ntohs(((struct sockaddr_in6 *)&sess->cli_addr)->sin6_port));
break;
case AF_UNIX:
+ chunk_printf(&msg,
+ " source=unix:%d\n", sess->listener->luid);
+ break;
default:
/* no more information to print right now */
chunk_printf(&msg, "\n");
@@ -2938,7 +2941,13 @@
break;
case AF_UNIX:
- /* no more information to print right now */
+ chunk_printf(&msg,
+ " src=unix:%d fe=%s be=%s srv=%s",
+ curr_sess->listener->luid,
+ curr_sess->fe->id,
+ curr_sess->be->id,
+ curr_sess->srv ? curr_sess->srv->id : "<none>"
+ );
break;
}