Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
As described in https://www.kernel.org/doc/Documentation/networking/proc_net_tcp.txt the format of /proc/net/tcp is using 4 digits for the hex port: 46: 010310AC:9C4C 030310AC:1770 01 | | | | | |--> connection state | | | | |------> remote TCP port number | | | |-------------> remote IPv4 address | | |--------------------> local TCP port number | |---------------------------> local IPv4 address |----------------------------------> number of entry So this string pattern is more accurate
- Loading branch information