]> The Tcpdump Group git mirrors - tcpdump/blobdiff - tcpdump.c
Fix typo.
[tcpdump] / tcpdump.c
index 88e205883e49dccf64df0f1da2017280c317d288..75ec14bea9f5e3edf189284b9187b95f09e0fb3b 100644 (file)
--- a/tcpdump.c
+++ b/tcpdump.c
@@ -2268,7 +2268,7 @@ DIAG_ON_CLANG(assign-enum)
                if (pdd == NULL)
                        error("%s", pcap_geterr(pd));
 #ifdef HAVE_CAPSICUM
-               set_dumper_capsicum_rights(p);
+               set_dumper_capsicum_rights(pdd);
 #endif
                if (Cflag != 0 || Gflag != 0) {
 #ifdef HAVE_CAPSICUM