summaryrefslogtreecommitdiffstats
path: root/freebsd/contrib/tcpdump/tcpdump.c
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/contrib/tcpdump/tcpdump.c')
-rw-r--r--freebsd/contrib/tcpdump/tcpdump.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/freebsd/contrib/tcpdump/tcpdump.c b/freebsd/contrib/tcpdump/tcpdump.c
index 5f1d82fa..3b68ed51 100644
--- a/freebsd/contrib/tcpdump/tcpdump.c
+++ b/freebsd/contrib/tcpdump/tcpdump.c
@@ -2204,7 +2204,8 @@ main(int argc, char **argv)
}
#ifdef HAVE_CAPSICUM
- cansandbox = (VFileName == NULL && zflag == NULL);
+ cansandbox = (VFileName == NULL && zflag == NULL &&
+ ndo->ndo_espsecret == NULL);
#ifdef HAVE_CASPER
cansandbox = (cansandbox && (ndo->ndo_nflag || capdns != NULL));
#else