aboutsummaryrefslogtreecommitdiffstats
path: root/dftest.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2006-02-08 10:22:20 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2006-02-08 10:22:20 +0000
commit6b5560b1bfcc5ab27bb5455086f3d18c0478f898 (patch)
tree586f2d6319a8d1a03910defd938e7b602ba4431f /dftest.c
parenta94d9faac36536118606d05f18f0f8c611426500 (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...). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17216 f5534014-38df-0310-8fa8-9805f1628bb7
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