MINOR: version: Show uname output in display_version()
authorTim Duesterhus <tim@bastelstu.be>
Sat, 18 Apr 2020 14:02:47 +0000 (16:02 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 1 May 2020 10:10:46 +0000 (12:10 +0200)
commit2958ab2eea915808b92204d328ce754f845e7fed
tree994eeeb8ab7606896c11a54819a6dc199bf49ca9
parent6223051c42e305b719271833825536d65134b0eb
MINOR: version: Show uname output in display_version()

This patch adds the sysname, release, version and machine fields from
the uname results to the version output. It intentionally leaves out the
machine name, because it is usually not useful and users might not want to
expose their machine names for privacy reasons.

May be backported if it is considered useful for debugging.

(cherry picked from commit dfad6a41ad9f012671b703788dd679cf24eb8c5a)
Signed-off-by: Willy Tarreau <w@1wt.eu>
src/haproxy.c