Index: files/patch-03 =================================================================== --- files/patch-03 (revision 346995) +++ files/patch-03 (working copy) @@ -5,7 +5,7 @@ #else /* !OLDLSOF */ /* These use the current (as of 3.62W, at least) parameters for lsof */ -#define LSOFCMD "lsof -nPsli TCP | awk '{print $3,$NF}' | sort | uniq" -+#define LSOFCMD "lsof -nPsli TCP | awk '{print $3,$(NF - 1)}' | sort | uniq" ++#define LSOFCMD "lsof -nPlsTCP:LISTEN -iTCP | awk '{print $3,$(NF - 1)}' | sort | uniq" #endif /* !OLDLSOF */ #endif /* LSOFCMD */