diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-10-01 22:01:25 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-10-01 22:01:25 +0000 |
commit | d525c0129eec28d18d6d78a5732b0afc2b08c879 (patch) | |
tree | a92f933fb7f3069e8e85907c4dfe49f47508589b /wiretap | |
parent | 6aad0b0543480ffbb4a089fecd873a895922e28c (diff) |
From Mark C. Brown: add the HP-PB FDDI card type, although we currently
don't have any code to handle it (other than to report that fact...).
Also, refer to the subsystem type code as such, not as a "network type".
svn path=/trunk/; revision=12178
Diffstat (limited to 'wiretap')
-rw-r--r-- | wiretap/nettl.c | 10 | ||||
-rw-r--r-- | wiretap/nettl.h | 1 |
2 files changed, 10 insertions, 1 deletions
diff --git a/wiretap/nettl.c b/wiretap/nettl.c index 404c613ab0..b48acddcb7 100644 --- a/wiretap/nettl.c +++ b/wiretap/nettl.c @@ -509,9 +509,17 @@ nettl_read_rec_header(wtap *wth, FILE_T fh, struct wtap_pkthdr *phdr, pseudo_header->x25.flags = (lapb_hdr.from_dce & 0x20 ? FROM_DCE : 0x00); break; + case NETTL_SUBSYS_HPPB_FDDI : + /* HP-PB FDDI has a different trace records for inbound vs outbound + Still need to work out a way 'round that... + */ + *err = WTAP_ERR_UNSUPPORTED_ENCAP; + *err_info = g_strdup_printf("nettl: HP-PB FDDI [Subsystem %u] currently unsupported", + encap[3]); + return -1; default: *err = WTAP_ERR_UNSUPPORTED_ENCAP; - *err_info = g_strdup_printf("nettl: network type %u unknown or unsupported", + *err_info = g_strdup_printf("nettl: subsystem %u unknown or unsupported", encap[3]); return -1; } diff --git a/wiretap/nettl.h b/wiretap/nettl.h index add1c51250..b0c54a07b6 100644 --- a/wiretap/nettl.h +++ b/wiretap/nettl.h @@ -87,6 +87,7 @@ #define NETTL_SUBSYS_IETHER 253 /* FDDI cards */ +#define NETTL_SUBSYS_HPPB_FDDI 95 #define NETTL_SUBSYS_PCI_FDDI 176 /* Token Ring cards */ |