aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/file_access.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2009-04-23 09:13:56 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2009-04-23 09:13:56 +0000
commit3fd6fbb69e0a8bafb3f0c9f90fbd7872640d2a32 (patch)
treed02ee29089b9a8ff79ccd6db9099c70f9716273c /wiretap/file_access.c
parent163ee4356b94485a0eba4f85172a5e1806e8638f (diff)
Added PacketLogger to dump_open_table_base to be able to open pklg files
(and avoid crash). svn path=/trunk/; revision=28137
Diffstat (limited to 'wiretap/file_access.c')
-rw-r--r--wiretap/file_access.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/wiretap/file_access.c b/wiretap/file_access.c
index dea358fdff..9bd3d2538a 100644
--- a/wiretap/file_access.c
+++ b/wiretap/file_access.c
@@ -598,7 +598,10 @@ static const struct file_type_info dump_open_table_base[] = {
{ "Transport-Neutral Encapsulation Format", "tnef", "*.*", NULL, FALSE, NULL, NULL },
/* WTAP_FILE_DCT3TRACE */
- { "Gammu DCT3 trace", "dct3trace", "*.xml", NULL, FALSE, NULL, NULL }
+ { "Gammu DCT3 trace", "dct3trace", "*.xml", NULL, FALSE, NULL, NULL },
+
+ /* WTAP_FILE_PACKETLOGGER */
+ { "PacketLogger", "pklg", "*.pklg", NULL, FALSE, NULL, NULL }
};
gint wtap_num_file_types = sizeof(dump_open_table_base) / sizeof(struct file_type_info);