diff options
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 */ |