in tethereal
authorlego <lego@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 23 Feb 2005 17:05:32 +0000 (17:05 +0000)
committerlego <lego@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 23 Feb 2005 17:05:32 +0000 (17:05 +0000)
list_link_layer_types was not being initialized causing the "-r" option to fail

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13480 f5534014-38df-0310-8fa8-9805f1628bb7

tethereal.c

index 824c68880a1fcca30f38cf93a94363df5e9fe52b..739386f623ee5f3283d078a31351d205f17e2af4 100644 (file)
@@ -661,7 +661,7 @@ main(int argc, char *argv[])
   char                *p;
   gchar                err_str[PCAP_ERRBUF_SIZE];
   gchar               *cant_get_if_list_errstr;
-  gboolean             list_link_layer_types;
+  gboolean             list_link_layer_types = FALSE;
 #else
   gboolean             capture_option_specified = FALSE;
 #endif