From: Masatake YAMATO Date: Sun, 5 Jan 2025 17:55:19 +0000 (+0900) Subject: lsfd: fix the description for PACKET.PROTOCOL column X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df3b38fab56001537364302479b33cb104ef7411;p=thirdparty%2Futil-linux.git lsfd: fix the description for PACKET.PROTOCOL column Signed-off-by: Masatake YAMATO --- diff --git a/lsfd-cmd/lsfd.1.adoc b/lsfd-cmd/lsfd.1.adoc index 5f253ca1f..d1a78f105 100644 --- a/lsfd-cmd/lsfd.1.adoc +++ b/lsfd-cmd/lsfd.1.adoc @@ -396,7 +396,7 @@ PACKET.IFACE <``string``>:: Interface name associated with the packet socket. PACKET.PROTOCOL <``string``>:: -L3 protocol associated with the packet socket. +L2 protocol associated with the packet socket. PARTITION <``string``>:: Block device name resolved by `/proc/partition`. diff --git a/lsfd-cmd/lsfd.c b/lsfd-cmd/lsfd.c index 0f70d17c1..5c5058a2b 100644 --- a/lsfd-cmd/lsfd.c +++ b/lsfd-cmd/lsfd.c @@ -311,7 +311,7 @@ static const struct colinfo infos[] = { N_("net interface associated with the packet socket") }, [COL_PACKET_PROTOCOL] = { "PACKET.PROTOCOL", 0, SCOLS_FL_RIGHT,SCOLS_JSON_STRING, - N_("L3 protocol associated with the packet socket") }, + N_("L2 protocol associated with the packet socket") }, [COL_PARTITION] = { "PARTITION", 0, SCOLS_FL_RIGHT, SCOLS_JSON_STRING, N_("block device name resolved by /proc/partition") },