Based on user feedback from Sharkfest '11, make the default choice when saving or...
authorcmaynard <cmaynard@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 29 Jun 2011 16:31:44 +0000 (16:31 +0000)
committercmaynard <cmaynard@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 29 Jun 2011 16:31:44 +0000 (16:31 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37833 f5534014-38df-0310-8fa8-9805f1628bb7

docbook/release-notes.xml
gtk/capture_file_dlg.c
packet-range.c
win32/file_dlg_win32.c

index 4d91bdd40718dc18ddc9fae26758d113d72ff578..2d68afd466f6452da2fab6858971d57b8af6a105 100644 (file)
@@ -89,6 +89,13 @@ Wireshark Info
           </para>
         </listitem>
 
+        <listitem>
+          <para>
+            When saving or printing packets, the default choice is now to save
+            or print only the displayed packets rather than all packets.
+          </para>
+        </listitem>
+
       </itemizedlist>
 
     </para>
index 3832f1bebd21a7c0c02cfacdafc9c04a4c4ef2e1..b8f11c305f448caaf3d0b9d3cc0c1ca1b3fb894a 100644 (file)
@@ -1235,7 +1235,7 @@ file_save_as_cmd(action_after_save_e action_after_save, gpointer action_after_sa
     return;
   }
 
-  /* Default to saving all packets, in the file's current format. */
+  /* Default to saving packets in the file's current format. */
 
   /* init the packet range */
   packet_range_init(&range);
index ed9955e09447ec9b5da622fd7c370f202a018cde..d86f27ba5943e11dd3919add2ef1bae807c33ef8 100644 (file)
@@ -206,7 +206,7 @@ static void packet_range_calc_user(packet_range_t *range) {
 void packet_range_init(packet_range_t *range) {
 
     range->process            = range_process_all;
-    range->process_filtered   = FALSE;
+    range->process_filtered   = TRUE;
     range->remove_ignored     = FALSE;
     range->user_range         = range_empty();
 
index 0e191b992f2a020eca054e31eaa0e7e71f53e2ac..24b1c0c13a80a25aa4183f785d6f4c27e1306591 100644 (file)
@@ -1548,7 +1548,7 @@ save_as_file_hook_proc(HWND sf_hwnd, UINT msg, WPARAM w_param, LPARAM l_param) {
         case WM_INITDIALOG:
             g_sf_hwnd = sf_hwnd;
 
-            /* Default to saving all packets, in the file's current format. */
+            /* Default to saving packets in the file's current format. */
             filetype = cfile.cd_t;
 
             /* init the packet range */