Right now, I'm just using inet_ntop() for IP clients and nothing for
other types, but this does the annoying IPv6-mapped-IPv4 formatting.
instance_from_socket() in socket.c has some nice checks for this so
IPv4 comes out as a dotted quad, but maybe we should move that to
shared code?

It would be useful for socket-activated apps to be able to work with
(and log) any type of stream socket client transparently.
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to