diff options
author | Luis Ontanon <luis.ontanon@gmail.com> | 2005-12-19 19:18:20 +0000 |
---|---|---|
committer | Luis Ontanon <luis.ontanon@gmail.com> | 2005-12-19 19:18:20 +0000 |
commit | 5113ab4d4ad2dd9d41dbeb6850a195eb99929011 (patch) | |
tree | e5c094d51218d89cdb2faa0cc699536ee02eb825 /wiretap | |
parent | 185cfdefd42a955d9aded83714ebd6164293e910 (diff) |
Add support for Juniper GGSN generated pcap files.
svn path=/trunk/; revision=16857
Diffstat (limited to 'wiretap')
-rw-r--r-- | wiretap/libpcap.c | 1 | ||||
-rw-r--r-- | wiretap/wtap.h | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/wiretap/libpcap.c b/wiretap/libpcap.c index 435cb1f06a..1dc041bb99 100644 --- a/wiretap/libpcap.c +++ b/wiretap/libpcap.c @@ -309,6 +309,7 @@ static const struct { { 129, WTAP_ENCAP_ARCNET_LINUX }, { 130, WTAP_ENCAP_JUNIPER_MLPPP }, /* Juniper MLPPP on ML-, LS-, AS- PICs */ { 131, WTAP_ENCAP_JUNIPER_MLFR }, /* Juniper MLFR (FRF.15) on ML-, LS-, AS- PICs */ + {133, WTAP_ENCAP_JUNIPER_GGSN}, /* * Values 132-134, 136 not listed here are reserved for use * in Juniper hardware. diff --git a/wiretap/wtap.h b/wiretap/wtap.h index 37ae0801f3..3920ca9a07 100644 --- a/wiretap/wtap.h +++ b/wiretap/wtap.h @@ -177,8 +177,10 @@ #define WTAP_ENCAP_JUNIPER_PPP 85 #define WTAP_ENCAP_JUNIPER_FRELAY 86 #define WTAP_ENCAP_JUNIPER_CHDLC 87 +#define WTAP_ENCAP_JUNIPER_GGSN 88 + /* last WTAP_ENCAP_ value + 1 */ -#define WTAP_NUM_ENCAP_TYPES 88 +#define WTAP_NUM_ENCAP_TYPES 89 /* File types that can be read by wiretap. We support writing some many of these file types, too, so we |