]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lsfd: make the logic for verifying the initial line of /proc/net/{tcp,udp} more flexible
authorMasatake YAMATO <yamato@redhat.com>
Wed, 26 Oct 2022 02:56:00 +0000 (11:56 +0900)
committerMasatake YAMATO <yamato@redhat.com>
Wed, 26 Oct 2022 02:56:00 +0000 (11:56 +0900)
commitb49529f06f282b5c5e1e6da5c776f103d0db1d13
treed0a04f65cdae69e15b4bcbefa2340d73a4ef98b4
parent4b9e3937966f7ddf90e6013c87f73c260963b0ea
lsfd: make the logic for verifying the initial line of /proc/net/{tcp,udp} more flexible

The format of /proc/net/udp was changed in
6c25449e1a32 ("net: udp: fix alignment problem in udp4_seq_show()").
This kind of change can be applied to /proc/net/tcp, too.

Co-Authored-by: Thomas Weißschuh <thomas@t-8ch.de>
Co-Authored-by: Masatake YAMATO <yamato@redhat.com>
misc-utils/lsfd-sock-xinfo.c