aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/wtap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-10-18 01:51:34 +0000
committerGuy Harris <guy@alum.mit.edu>1999-10-18 01:51:34 +0000
commitdbd1955d62538097dcad85350f60f40849402190 (patch)
tree8a47a962a70fa20b6a2bc6460536ebe8f06f4003 /wiretap/wtap.c
parenta0120ff1826a31acfa7f7bd22fb774d2626cac4f (diff)
Olivier Abad's patches to add:
more display filters for X.25; no LCN in X.25 RESTART / DIAGNOSTIC / REGISTRATION packets; support for nettl file format (nettl is a trace tool for HP-UX). For now, it only supports traces for X.25 interfaces (tested with HP-UX 10.20). svn path=/trunk/; revision=879
Diffstat (limited to 'wiretap/wtap.c')
-rw-r--r--wiretap/wtap.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/wiretap/wtap.c b/wiretap/wtap.c
index bc293567af..6f4f67b849 100644
--- a/wiretap/wtap.c
+++ b/wiretap/wtap.c
@@ -1,6 +1,6 @@
/* wtap.c
*
- * $Id: wtap.c,v 1.25 1999/10/06 03:29:35 guy Exp $
+ * $Id: wtap.c,v 1.26 1999/10/18 01:51:32 guy Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@verdict.uthscsa.edu>
@@ -98,6 +98,9 @@ const char *wtap_file_type_string(wtap *wth)
case WTAP_FILE_ASCEND:
return "Lucent/Ascend access server trace";
+ case WTAP_FILE_NETTL:
+ return "HP-UX nettl traces";
+
default:
g_error("Unknown capture file type %d", wth->file_type);
return NULL;
@@ -184,6 +187,10 @@ void wtap_close(wtap *wth)
g_free(wth->capture.ascend);
break;
+ case WTAP_FILE_NETTL:
+ g_free(wth->capture.nettl);
+ break;
+
/* default:
nothing */
}