Need to use htons() on the port number before calling getservicebyname().
(thanks Christopher!) Submitted by: Christopher Masto <chris@chris.netmonger.net>
This commit is contained in:
parent
0c2bc77ec4
commit
0658e2e2d2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=6289
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user