aboutsummaryrefslogtreecommitdiffstats
path: root/dftest.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2006-02-08 10:22:20 +0000
committerGuy Harris <guy@alum.mit.edu>2006-02-08 10:22:20 +0000
commit0a19b80f9609b013f6a302b26e9940f1d7625dbc (patch)
tree586f2d6319a8d1a03910defd938e7b602ba4431f /dftest.c
parent6fcf2d8c66a881edc6f123e029592537abd44020 (diff)
Call "get_credential_info()", so any later calls to privileges.c
routines will have the UID info (not that it matters in this case, but...). svn path=/trunk/; revision=17216
Diffstat (limited to 'dftest.c')
-rw-r--r--dftest.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/dftest.c b/dftest.c
index 75fa9aa82e..96cb58c2e2 100644
--- a/dftest.c
+++ b/dftest.c
@@ -43,6 +43,7 @@
#include <epan/timestamp.h>
#include <epan/plugins.h>
#include <epan/filesystem.h>
+#include <epan/privileges.h>
#include <epan/prefs.h>
#include "util.h"
#include "epan/dfilter/dfilter.h"
@@ -65,6 +66,11 @@ main(int argc, char **argv)
e_prefs *prefs;
dfilter_t *df;
+ /*
+ * Get credential information for later use.
+ */
+ get_credential_info();
+
timestamp_set_type(TS_RELATIVE);
/* register all dissectors; we must do this before checking for the