diff options
author | Guy Harris <guy@alum.mit.edu> | 2006-02-08 10:22:20 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2006-02-08 10:22:20 +0000 |
commit | 0a19b80f9609b013f6a302b26e9940f1d7625dbc (patch) | |
tree | 586f2d6319a8d1a03910defd938e7b602ba4431f /dftest.c | |
parent | 6fcf2d8c66a881edc6f123e029592537abd44020 (diff) | |
download | wireshark-0a19b80f9609b013f6a302b26e9940f1d7625dbc.tar.gz wireshark-0a19b80f9609b013f6a302b26e9940f1d7625dbc.tar.bz2 wireshark-0a19b80f9609b013f6a302b26e9940f1d7625dbc.zip |
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.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |