Re: [PATCH net-next v2 5/6] netconsole: show empty string for an unset IP address
Breno Leitao <[email protected]>
| Newsgroups | org.kernel.vger.netdev,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> Reviewed-by: Breno Leitao <[email protected]>