summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2017-05-12 17:05:27 +0200
committerGiampaolo Rodola <g.rodola@gmail.com>2017-05-12 17:05:27 +0200
commit4fdfd4a45bf9d2187efed4c9453607fe3ed5a6e0 (patch)
tree17df50fccca93df8be0dc4feac03722b3e84a429
parent4563f78c34aa163722a0bdc148fbeaf2a9511cd3 (diff)
downloadpsutil-4fdfd4a45bf9d2187efed4c9453607fe3ed5a6e0.tar.gz
fix broken link
-rw-r--r--psutil/_pslinux.py2
-rw-r--r--psutil/_psosx.py1
2 files changed, 1 insertions, 2 deletions
diff --git a/psutil/_pslinux.py b/psutil/_pslinux.py
index 92e6c22b..eb7d1126 100644
--- a/psutil/_pslinux.py
+++ b/psutil/_pslinux.py
@@ -122,7 +122,7 @@ PROC_STATUSES = {
"W": _common.STATUS_WAKING
}
-# http://students.mimuw.edu.pl/lxr/source/include/net/tcp_states.h
+# https://github.com/torvalds/linux/blob/master/include/net/tcp_states.h
TCP_STATUSES = {
"01": _common.CONN_ESTABLISHED,
"02": _common.CONN_SYN_SENT,
diff --git a/psutil/_psosx.py b/psutil/_psosx.py
index 872d3a14..14cdb1e1 100644
--- a/psutil/_psosx.py
+++ b/psutil/_psosx.py
@@ -33,7 +33,6 @@ __extra__all__ = []
PAGESIZE = os.sysconf("SC_PAGE_SIZE")
AF_LINK = cext_posix.AF_LINK
-# http://students.mimuw.edu.pl/lxr/source/include/net/tcp_states.h
TCP_STATUSES = {
cext.TCPS_ESTABLISHED: _common.CONN_ESTABLISHED,
cext.TCPS_SYN_SENT: _common.CONN_SYN_SENT,