]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lsfd: fix the description for PACKET.PROTOCOL column
authorMasatake YAMATO <yamato@redhat.com>
Sun, 5 Jan 2025 17:55:19 +0000 (02:55 +0900)
committerKarel Zak <kzak@redhat.com>
Wed, 2 Apr 2025 10:03:47 +0000 (12:03 +0200)
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
(cherry picked from commit df3b38fab56001537364302479b33cb104ef7411)

lsfd-cmd/lsfd.1.adoc
lsfd-cmd/lsfd.c

index e9a01d26abbd559491bad04b6e85b13bb8cb7da3..bd6885f82c6f22b77160ef58052e5379f51dd0df 100644 (file)
@@ -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`.
index 66c60a4e8c01ec6409481a38d55f2abf7832739e..714083e70c527b18bfa963879c7a685a5574b658 100644 (file)
@@ -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") },