Add actual used ip family to --print-address output in case of listening on tcp

System Internals / DBus - Ralf Habacker [freenet.de] - 19 March 2018 21:24 EDT

Specifying a dbus tcp address without a family let dbus-daemon the choice for listen on ipv4 or ipv6, but did not return the real used ip family, which is fixed with this commit.

Bug:https://bugs.freedesktop.org/show_bug.cgi?id=105489

00babc0b Add actual used ip family to --print-address output in case of listening on tcp
dbus/dbus-server-socket.c | 8 +++++---
dbus/dbus-sysdeps-unix.c | 14 ++++++++++++++
dbus/dbus-sysdeps-win.c | 15 ++++++++++++++-
dbus/dbus-sysdeps.h | 1 +
4 files changed, 34 insertions(+), 4 deletions(-)

Upstream: cgit.freedesktop.org


  • Share