Re: [PATCH net-next v2 5/6] netconsole: show empty string for an unset IP address
From: Breno Leitao
Date: Tue Aug 11 2026 - 09:26:45 EST
On Mon, Aug 10, 2026 at 05:47:29PM +0100, Gustavo Luiz Duarte wrote:
> An unset address (local_ip/remote_ip), now denoted by AF_UNSPEC,
> currently shows "0.0.0.0" in configfs. Print an empty string instead,
> which is more clear.
Ack. Now 0.0.0.0 is different than an empty string (AF_UNSPEC).
> In netconsole_print_banner() we can be even more explicit about it, as
> we don't have the risk of userspace trying to parse it.
>
> Signed-off-by: Gustavo Luiz Duarte <gustavold@xxxxxxxxx>
Reviewed-by: Breno Leitao <leitao@xxxxxxxxxx>