Add a comment explaining what setting

capture_opts->default_options.linktype to -1 means.

svn path=/trunk/; revision=53591
This commit is contained in:
Guy Harris 2013-11-26 02:43:06 +00:00
parent 945d6d049c
commit 4558ff0ef2
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ capture_opts_init(capture_options *capture_opts)
capture_opts->default_options.cfilter = NULL;
capture_opts->default_options.has_snaplen = FALSE;
capture_opts->default_options.snaplen = WTAP_MAX_PACKET_SIZE;
capture_opts->default_options.linktype = -1;
capture_opts->default_options.linktype = -1; /* use interface default */
capture_opts->default_options.promisc_mode = TRUE;
#if defined(_WIN32) || defined(HAVE_PCAP_CREATE)
capture_opts->default_options.buffer_size = DEFAULT_CAPTURE_BUFFER_SIZE;