diff options
Diffstat (limited to 'gtk/capture_dlg.c')
-rw-r--r-- | gtk/capture_dlg.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/capture_dlg.c b/gtk/capture_dlg.c index c4dab7fcfb..69c13f8ce0 100644 --- a/gtk/capture_dlg.c +++ b/gtk/capture_dlg.c @@ -3170,6 +3170,8 @@ capture_dlg_prep(gpointer parent_w) { global_capture_opts.snaplen = WTAP_MAX_PACKET_SIZE; else if (global_capture_opts.snaplen < MIN_PACKET_SIZE) global_capture_opts.snaplen = MIN_PACKET_SIZE; + } else { + global_capture_opts.snaplen = WTAP_MAX_PACKET_SIZE; } global_capture_opts.promisc_mode = |