aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/file_access.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2013-07-28 23:41:18 +0000
committerEvan Huus <eapache@gmail.com>2013-07-28 23:41:18 +0000
commit0b796e53cfecb83265b565b4813af6c8b3e24298 (patch)
tree756e87b2516f8eea457a4dcb10854cc2be877369 /wiretap/file_access.c
parent21ba3c2352ebdf1021fbe0f8ee5e45ec11e7dfb4 (diff)
From Linas Vepstas via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8962
Enhancement: Add STANAG 4607 file format svn path=/trunk/; revision=50996
Diffstat (limited to 'wiretap/file_access.c')
-rw-r--r--wiretap/file_access.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/wiretap/file_access.c b/wiretap/file_access.c
index 55262cf09a..8d9dc197c0 100644
--- a/wiretap/file_access.c
+++ b/wiretap/file_access.c
@@ -86,6 +86,7 @@
#include "ipfix.h"
#include "vwr.h"
#include "camins.h"
+#include "stanag4607.h"
#include "pcap-encap.h"
/* The open_file_* routines should return:
@@ -147,6 +148,7 @@ static wtap_open_routine_t open_routines_base[] = {
dct3trace_open,
daintree_sna_open,
mime_file_open,
+ stanag4607_open,
/* Files that don't have magic bytes at a fixed location,
* but that instead require a heuristic of some sort to
* identify them. This includes the ASCII trace files that
@@ -822,7 +824,13 @@ static const struct file_type_info dump_open_table_base[] = {
/* WTAP_FILE_CAMINS */
{ "CAM Inspector file", "camins", "camins", NULL,
FALSE, FALSE, 0,
+ NULL, NULL },
+
+ /* WTAP_FILE_STANAG_4607 */
+ { "STANAG 4607 Format", "stanag4607", NULL, NULL,
+ FALSE, FALSE, 0,
NULL, NULL }
+
};
gint wtap_num_file_types = sizeof(dump_open_table_base) / sizeof(struct file_type_info);