aboutsummaryrefslogtreecommitdiffstats
path: root/packet-isis-snp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-07-09 04:25:16 +0000
committerGuy Harris <guy@alum.mit.edu>2003-07-09 04:25:16 +0000
commit1d985935a671705c58139724474706100a02cddd (patch)
tree606b58fcfebf4ae1563a64b5119aa61890bd09fa /packet-isis-snp.c
parent23aa226b331b418868af2906775feeecb6420787 (diff)
Use the right #defines and tables when dissecting options in partial
sequence number PDUs. svn path=/trunk/; revision=7998
Diffstat (limited to 'packet-isis-snp.c')
-rw-r--r--packet-isis-snp.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/packet-isis-snp.c b/packet-isis-snp.c
index 610ba765b7..8940742eb7 100644
--- a/packet-isis-snp.c
+++ b/packet-isis-snp.c
@@ -1,7 +1,7 @@
/* packet-isis-snp.c
* Routines for decoding isis complete & partial SNP and their payload
*
- * $Id: packet-isis-snp.c,v 1.21 2003/03/31 07:44:09 guy Exp $
+ * $Id: packet-isis-snp.c,v 1.22 2003/07/09 04:25:16 guy Exp $
* Stuart Stanley <stuarts@mxmail.net>
*
* Ethereal - Network traffic analyzer
@@ -142,14 +142,14 @@ static const isis_clv_handle_t clv_l2_psnp_opts[] = {
dissect_psnp_lsp_entries
},
{
- ISIS_CLV_L2_PSNP_AUTHENTICATION,
- "Authentication",
+ ISIS_CLV_L2_PSNP_AUTHENTICATION_NS,
+ "Authentication(non spec)",
&ett_isis_psnp_authentication,
dissect_l2_snp_authentication_clv
},
{
- ISIS_CLV_L2_PSNP_AUTHENTICATION_NS,
- "Authentication(non spec)",
+ ISIS_CLV_L2_PSNP_AUTHENTICATION,
+ "Authentication",
&ett_isis_psnp_authentication,
dissect_l2_snp_authentication_clv
},
@@ -417,13 +417,13 @@ isis_dissect_isis_psnp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int
return;
}
/* Call into payload dissector */
- if (type == ISIS_TYPE_L1_CSNP ) {
+ if (type == ISIS_TYPE_L1_PSNP ) {
isis_dissect_clvs(tvb, psnp_tree, offset,
- clv_l1_csnp_opts, len, id_length,
+ clv_l1_psnp_opts, len, id_length,
ett_isis_psnp_clv_unknown );
} else {
isis_dissect_clvs(tvb, psnp_tree, offset,
- clv_l2_csnp_opts, len, id_length,
+ clv_l2_psnp_opts, len, id_length,
ett_isis_psnp_clv_unknown );
}
}