Fix for latest version of lsof (the one in the ports anyway).
This commit is contained in:
parent
0dd2bdaa37
commit
9fbd33c2fe
19
sysutils/tcplist/patches/patch-02
Normal file
19
sysutils/tcplist/patches/patch-02
Normal file
@ -0,0 +1,19 @@
|
||||
*** lsof.c.orig Tue Nov 25 19:07:17 1997
|
||||
--- lsof.c Tue Nov 25 19:04:03 1997
|
||||
***************
|
||||
*** 27,33 ****
|
||||
#define LSOFCMD "lsof -HPsli TCP | awk '{print $3,$NF}' | sort | uniq"
|
||||
#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"
|
||||
#endif /* !OLDLSOF */
|
||||
#endif /* LSOFCMD */
|
||||
|
||||
--- 27,33 ----
|
||||
#define LSOFCMD "lsof -HPsli TCP | awk '{print $3,$NF}' | sort | uniq"
|
||||
#else /* !OLDLSOF */
|
||||
/* These use the current (as of 3.62W, at least) parameters for lsof */
|
||||
! #define LSOFCMD "lsof -nPsli TCP | awk '{print $3,$(NF - 1)}' | sort | uniq"
|
||||
#endif /* !OLDLSOF */
|
||||
#endif /* LSOFCMD */
|
||||
|
Loading…
Reference in New Issue
Block a user