summaryrefslogtreecommitdiffstats
path: root/usr.sbin/traceroute
diff options
context:
space:
mode:
authorshin <shin@FreeBSD.org>2000-03-30 01:33:39 +0000
committershin <shin@FreeBSD.org>2000-03-30 01:33:39 +0000
commit5bc92eac721d018ebd8bce5e87f57294ccb0fd54 (patch)
tree1356be94e2894aebba0cd6a0be587d82208270eb /usr.sbin/traceroute
parent1f6e099839512f63d8774fbe21ab5e84ac17e081 (diff)
downloadFreeBSD-src-5bc92eac721d018ebd8bce5e87f57294ccb0fd54.zip
FreeBSD-src-5bc92eac721d018ebd8bce5e87f57294ccb0fd54.tar.gz
Bypass IPsec for traceroute invoked by root.
PR: bin/17606 Submitted by: Louis Mamakos <louie@TransSys.COM
Diffstat (limited to 'usr.sbin/traceroute')
-rw-r--r--usr.sbin/traceroute/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/traceroute/Makefile b/usr.sbin/traceroute/Makefile
index 4ddf20d..1cb75bf 100644
--- a/usr.sbin/traceroute/Makefile
+++ b/usr.sbin/traceroute/Makefile
@@ -4,7 +4,7 @@ PROG= traceroute
MAN8= traceroute.8
BINMODE=4555
CFLAGS+=-DHAVE_SYS_SELECT_H=1 -DHAVE_SETLINEBUF=1 -DHAVE_RAW_OPTIONS=1 \
- -DSTDC_HEADERS=1
+ -DSTDC_HEADERS=1 -DIPSEC
# RTT Jitter on the internet these days means printing 3 decimal places on
# > 1000ms times is plain useless. Uncomment this to enable variable precision
# reporting, ie: print a variable precision from 0.001ms through 1000ms
@@ -12,6 +12,8 @@ CFLAGS+=-DHAVE_SYS_SELECT_H=1 -DHAVE_SETLINEBUF=1 -DHAVE_RAW_OPTIONS=1 \
SRCS= version.c traceroute.c
CLEANFILES+= version.c
+DPADD= ${LIBIPSEC}
+LDADD= -lipsec
TRACEROUTE_DISTDIR?= ${.CURDIR}/../../contrib/traceroute
OpenPOWER on IntegriCloud