diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 1997-04-24 17:32:25 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 1997-04-24 17:32:25 +0000 |
commit | 0658e2e2d2bc12245f3df94c17e4b123f6328ddb (patch) | |
tree | f96db095782de0e734c01b1989c88b66e211ebed | |
parent | Upgrade to 0424 (diff) |
Need to use htons() on the port number before calling getservicebyname().
(thanks Christopher!)
Submitted by: Christopher Masto <chris@chris.netmonger.net>
Notes
Notes:
svn path=/head/; revision=6289
-rw-r--r-- | sysutils/tcplist/files/patch-01 | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/sysutils/tcplist/files/patch-01 b/sysutils/tcplist/files/patch-01 index 1bc169c506e6..e9abe9ee6291 100644 --- a/sysutils/tcplist/files/patch-01 +++ b/sysutils/tcplist/files/patch-01 @@ -1,5 +1,5 @@ ---- Makefile.orig Mon Apr 14 18:06:02 1997 -+++ Makefile Mon Apr 14 18:08:48 1997 +--- Makefile.orig Thu Apr 24 09:33:17 1997 ++++ Makefile Thu Apr 24 10:02:39 1997 @@ -1,14 +1,16 @@ # Compiler: eg. cc or gcc CC = cc @@ -47,3 +47,14 @@ # # If you're using an old version of lsof, uncomment this: +@@ -76,8 +78,8 @@ + RM = /bin/rm -rf + CP = /bin/cp + CHMOD = /bin/chmod +-CHOWN = /bin/chown +-CHGRP = /bin/chgrp ++CHOWN = /usr/sbin/chown ++CHGRP = /usr/bin/chgrp + + all:: tcplist + |