summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--capture_opts.h6
-rw-r--r--dumpcap.c6
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:"
diff --git a/dumpcap.c b/dumpcap.c
index 4b6ced0ad3..93a7f9e50d 100644
--- a/dumpcap.c
+++ b/dumpcap.c
@@ -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"