diff options
author | Guy Harris <guy@alum.mit.edu> | 2009-05-05 20:46:21 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2009-05-05 20:46:21 +0000 |
commit | cebd27b3c00366a0f6890060a4fb73f5d86bcb65 (patch) | |
tree | bb120ece784fe9ea746d44773dcc9cc663b45552 /epan/dissectors/packet-chdlc.c | |
parent | cfe974aadd33da87e3f94c1226ab6de0f847d920 (diff) |
Update a comment (we can now fetch other dissectors' tables).
svn path=/trunk/; revision=28282
Diffstat (limited to 'epan/dissectors/packet-chdlc.c')
-rw-r--r-- | epan/dissectors/packet-chdlc.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/epan/dissectors/packet-chdlc.c b/epan/dissectors/packet-chdlc.c index 13b2c858cc..860325eeff 100644 --- a/epan/dissectors/packet-chdlc.c +++ b/epan/dissectors/packet-chdlc.c @@ -71,13 +71,10 @@ static dissector_handle_t data_handle; * on Ethernet those are encapsulated inside SNAP with an OUI of * OUI_CISCO, not OUI_ENCAP_ETHER. * - * Perhaps we should set up a protocol table for those protocols - * that differ between Ethernet and Cisco HDLC, and have the PPP - * code first try that table and, if it finds nothing in that - * table, call "ethertype()". (Unfortunately, that means that - - * assuming we had a Cisco SLARP dissector - said dissector were - * disabled, SLARP packets would be dissected as Reverse ARP - * packets, not as data.) + * We thus have a separate dissector table for Cisco HDLC types. + * We could perhaps have that table hold only type values that + * wouldn't be in the Ethernet dissector table, and check that + * table first and the Ethernet dissector table if that fails. */ #define CISCO_SLARP 0x8035 /* Cisco SLARP protocol */ |