diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-06-20 14:31:47 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-06-20 21:32:21 +0000 |
commit | 5537c53f379b5404f05d01541aa9386f87805072 (patch) | |
tree | 25fee7a8b93e7d0f77381ed090268eef583dfb7f /dumpcap.c | |
parent | 13b5d9b145a62db1f852008dfb6d42f79c52202f (diff) |
"-d" isn't common to all capturing programs, it's dumpcap-specific.
Change-Id: I827615d45051c9d66407516b311d3de448de6d07
Reviewed-on: https://code.wireshark.org/review/2495
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'dumpcap.c')
-rw-r--r-- | dumpcap.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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" |