0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-29 12:18:54 +02:00

ircd::server: Use zero ipv4 addr for null string here.

This commit is contained in:
Jason Volk 2019-04-25 03:16:24 -07:00
parent 2f2f3d617e
commit 6bd26ecbb3

View file

@ -1635,9 +1635,9 @@ ircd::server::loghead(const mutable_buffer &buf,
link.socket?
link.socket->id : 0UL,
link.socket?
string(rembuf[0], local_ipport(*link.socket)): string_view{},
string(rembuf[0], local_ipport(*link.socket)): string_view{"0.0.0.0"},
link.socket?
string(rembuf[0], remote_ipport(*link.socket)): string_view{},
string(rembuf[0], remote_ipport(*link.socket)): string_view{"0.0.0.0"},
link.id,
link.peer?
link.peer->id: 0UL,