From 4558ff0ef21e0b88186a01d3fb2dee8248d53faa Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 26 Nov 2013 02:43:06 +0000 Subject: Add a comment explaining what setting capture_opts->default_options.linktype to -1 means. svn path=/trunk/; revision=53591 --- capture_opts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'capture_opts.c') diff --git a/capture_opts.c b/capture_opts.c index 53b6253346..089d4d0cf5 100644 --- a/capture_opts.c +++ b/capture_opts.c @@ -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; -- cgit v1.2.3