diff options
Diffstat (limited to 'capture_loop.c')
-rw-r--r-- | capture_loop.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/capture_loop.c b/capture_loop.c index 5957ec2f51..0d62461e67 100644 --- a/capture_loop.c +++ b/capture_loop.c @@ -1112,14 +1112,6 @@ capture_loop_start(capture_options *capture_opts, gboolean *stats_known, struct ld.packet_cb = capture_loop_packet_cb; - /* - * Some older Linux versions of libpcap don't work right without - * a capture filter; if none was specified, use an empty string. - * (Yes, that's a libpcap bug, and has been fixed for a while.) - */ - if (capture_opts->cfilter == NULL) - capture_opts->cfilter = g_strdup(""); - /* We haven't yet gotten the capture statistics. */ *stats_known = FALSE; |