From: Masatake YAMATO Date: Sun, 5 Jan 2025 17:55:19 +0000 (+0900) Subject: lsfd: fix the description for PACKET.PROTOCOL column X-Git-Tag: v2.41.1~62 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7b96894c2f27f8a361f5bab2a239c9f64034557;p=thirdparty%2Futil-linux.git lsfd: fix the description for PACKET.PROTOCOL column Signed-off-by: Masatake YAMATO (cherry picked from commit df3b38fab56001537364302479b33cb104ef7411) --- diff --git a/lsfd-cmd/lsfd.1.adoc b/lsfd-cmd/lsfd.1.adoc index e9a01d26a..bd6885f82 100644 --- a/lsfd-cmd/lsfd.1.adoc +++ b/lsfd-cmd/lsfd.1.adoc @@ -386,7 +386,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 66c60a4e8..714083e70 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") },