diff options
-rw-r--r-- | capture_opts.h | 6 | ||||
-rw-r--r-- | dumpcap.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/capture_opts.h b/capture_opts.h index afc402e2bc..d689878023 100644 --- a/capture_opts.h +++ b/capture_opts.h @@ -112,12 +112,6 @@ extern "C" { #define OPTSTRING_I "" #endif -#ifdef HAVE_BPF_IMAGE -#define OPTSTRING_d "d" -#else -#define OPTSTRING_d "" -#endif - #define OPTSTRING_CAPTURE_COMMON \ "a:" OPTSTRING_A "b:" OPTSTRING_B "c:Df:i:" OPTSTRING_I "Lps:y:" @@ -4240,6 +4240,12 @@ main(int argc, char *argv[]) ws_init_dll_search_path(); #endif +#ifdef HAVE_BPF_IMAGE +#define OPTSTRING_d "d" +#else +#define OPTSTRING_d "" +#endif + #ifdef HAVE_PCAP_REMOTE #define OPTSTRING_r "r" #define OPTSTRING_u "u" |