summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/Makefile
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2001-03-14 20:51:26 +0000
committerbrian <brian@FreeBSD.org>2001-03-14 20:51:26 +0000
commitdd004da290c46c50b50ee5c919ad6eab35694921 (patch)
tree5e787a2429ce382c01d683306212b6100c2c4928 /usr.bin/netstat/Makefile
parent8a3521bf30812a63d06554a1d7f88325346ba791 (diff)
downloadFreeBSD-src-dd004da290c46c50b50ee5c919ad6eab35694921.zip
FreeBSD-src-dd004da290c46c50b50ee5c919ad6eab35694921.tar.gz
MAXHOSTNAMELEN includes space for a NUL.
Don't roll our own version of trimdomain(), use the one in libutil. Not objected to by: freebsd-audit
Diffstat (limited to 'usr.bin/netstat/Makefile')
-rw-r--r--usr.bin/netstat/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/netstat/Makefile b/usr.bin/netstat/Makefile
index 7f88c3b..c0a19a7 100644
--- a/usr.bin/netstat/Makefile
+++ b/usr.bin/netstat/Makefile
@@ -11,8 +11,8 @@ CFLAGS+=-DIPSEC
#.PATH: ${.CURDIR}/../../sys/netiso
BINGRP= kmem
BINMODE=2555
-DPADD= ${LIBKVM} ${LIBIPX} ${LIBNETGRAPH}
-LDADD= -lkvm -lipx -lnetgraph
+DPADD= ${LIBKVM} ${LIBIPX} ${LIBNETGRAPH} ${LIBUTIL}
+LDADD= -lkvm -lipx -lnetgraph -lutil
CFLAGS+=-DINET6 -DIPSEC
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud