diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-05-02 10:13:56 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-05-02 10:13:56 +0000 |
commit | 8c050e6851f70c1be3df804ab4399d9303363e55 (patch) | |
tree | 0dc76c684648c150a0c6f8f567ca10a411f9452c /packet-isis-snp.c | |
parent | 2e44d10e3e60ce2f4711f6c3d83116a0d36e2631 (diff) |
From Joerg Mayer: mark unused arguments as such.
Add a check in "dissect_hello_restart_clv()" that the length of the TLV
is correct.
Use "val_to_str()" to get the name of the adjacency state in
"dissect_hello_ptp_adj_clv()".
svn path=/trunk/; revision=5357
Diffstat (limited to 'packet-isis-snp.c')
-rw-r--r-- | packet-isis-snp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-isis-snp.c b/packet-isis-snp.c index b4ac0d39fe..0c76821786 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.15 2002/04/07 22:36:55 guy Exp $ + * $Id: packet-isis-snp.c,v 1.16 2002/05/02 10:13:56 guy Exp $ * Stuart Stanley <stuarts@mxmail.net> * * Ethereal - Network traffic analyzer @@ -375,7 +375,7 @@ isis_dissect_isis_psnp(tvbuff_t *tvb, proto_tree *tree, int offset, */ static void dissect_l1_snp_authentication_clv(tvbuff_t *tvb, proto_tree *tree, int offset, - int id_length, int length) + int id_length _U_, int length) { isis_dissect_authentication_clv(tvb, tree, offset, length, "Per area authentication" ); @@ -400,7 +400,7 @@ dissect_l1_snp_authentication_clv(tvbuff_t *tvb, proto_tree *tree, int offset, */ static void dissect_l2_snp_authentication_clv(tvbuff_t *tvb, proto_tree *tree, int offset, - int id_length, int length) + int id_length _U_, int length) { isis_dissect_authentication_clv(tvb, tree, offset, length, "Per domain authentication" ); |