diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2006-09-12 11:51:48 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2006-09-12 11:51:48 +0000 |
commit | 073483df4547ec8383a17b5924b03789d2b6d7fa (patch) | |
tree | 2620c4d9569229bfd48886483c257a8bc94ec248 /epan/dissectors/packet-redback.c | |
parent | b61e42bc3ac7cc537d61165df671d36f74e6f3f7 (diff) |
from Florian Lohoff
Hi,
after using the redback dissector again i found some more protocol
types:
svn path=/trunk/; revision=19209
Diffstat (limited to 'epan/dissectors/packet-redback.c')
-rw-r--r-- | epan/dissectors/packet-redback.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/epan/dissectors/packet-redback.c b/epan/dissectors/packet-redback.c index faf2dafdc7..d2ffee6747 100644 --- a/epan/dissectors/packet-redback.c +++ b/epan/dissectors/packet-redback.c @@ -6,7 +6,7 @@ * By Gerald Combs <gerald@wireshark.org> * * Start of RedBack SE400/800 tcpdump trace disassembly - * Copyright 2005 Florian Lohoff <flo@rfc822.org> + * Copyright 2005,2006 Florian Lohoff <flo@rfc822.org> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -85,7 +85,7 @@ dissect_redback(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) /* Mark the gap as "Data" for now */ if (dataoff > l3off) { - proto_tree_add_text (subtree, tvb, 24, l3off-24, "Data"); + proto_tree_add_text (subtree, tvb, 24, l3off-24, "Data (%d bytes)", l3off-24); } /* @@ -112,13 +112,14 @@ dissect_redback(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) */ call_dissector(clnp_handle, next_tvb, pinfo, tree); break; - case 0x04: - /* ARP - Always eth header in front */ + case 0x03: /* Unicast Ethernet tx - Seen with PPPoE PADO */ + case 0x04: /* Unicast Ethernet rx - Seen with ARP */ + case 0x08: /* Broadcast Ethernet rx - Seen with PPPoE PADI */ call_dissector(eth_handle, next_tvb, pinfo, tree); break; default: - tisub = proto_tree_add_text (subtree, tvb, 24, length-24, - "Unknown Protocol %u", proto); + tisub = proto_tree_add_text (subtree, tvb, 24, length-24, + "Unknown Protocol Data %u", proto); break; } } |