diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-09-13 08:02:11 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-09-13 08:02:11 +0000 |
commit | 3af4def7d27ef21c8025d6f94f31b82370b0d51b (patch) | |
tree | b2a45ee8ca5f0074eccf30fa152e40480c3d07b0 /packet-nlm.c | |
parent | 2a148564d67964bef7eb5a2e8511fa431060850f (diff) | |
download | wireshark-3af4def7d27ef21c8025d6f94f31b82370b0d51b.tar.gz wireshark-3af4def7d27ef21c8025d6f94f31b82370b0d51b.tar.bz2 wireshark-3af4def7d27ef21c8025d6f94f31b82370b0d51b.zip |
NLM fix, and change of status monitor callback protocol name to use "_"
rather than "-" ("-" upsets the display filter parser), from Ronnie
Sahlberg.
svn path=/trunk/; revision=3924
Diffstat (limited to 'packet-nlm.c')
-rw-r--r-- | packet-nlm.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/packet-nlm.c b/packet-nlm.c index 7232bf1866..0ff4e09afe 100644 --- a/packet-nlm.c +++ b/packet-nlm.c @@ -1,7 +1,7 @@ /* packet-nlm.c * Routines for nlm dissection * - * $Id: packet-nlm.c,v 1.18 2001/06/18 02:17:50 guy Exp $ + * $Id: packet-nlm.c,v 1.19 2001/09/13 08:02:10 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -71,6 +71,7 @@ static int hf_nlm_lock_l_offset = -1; static int hf_nlm_lock_l_len = -1; static int hf_nlm_reclaim = -1; static int hf_nlm_state = -1; +static int hf_nlm_stat = -1; static int hf_nlm_test_stat = -1; static int hf_nlm_test_stat_stat = -1; static int hf_nlm_holder = -1; @@ -203,7 +204,7 @@ dissect_nlm_lock(tvbuff_t *tvb, int offset, packet_info *pinfo, offset = dissect_rpc_bool(tvb, pinfo, tree, hf_nlm_exclusive, offset); offset = dissect_lock(tvb, pinfo, tree, version, offset); offset = dissect_rpc_bool(tvb, pinfo, tree, hf_nlm_reclaim, offset); - offset = dissect_rpc_uint32(tvb, pinfo, tree, hf_nlm_state, offset); + offset = dissect_rpc_uint32(tvb, pinfo, tree, hf_nlm_stat, offset); return offset; } @@ -716,6 +717,9 @@ proto_register_nlm(void) { &hf_nlm_reclaim, { "reclaim", "nlm.reclaim", FT_BOOLEAN, BASE_NONE, &yesno, 0, "reclaim", HFILL }}, + { &hf_nlm_stat, { + "stat", "nlm.stat", FT_UINT32, BASE_DEC, + NULL, 0, "STATD state", HFILL }}, { &hf_nlm_state, { "state", "nlm.state", FT_UINT32, BASE_DEC, VALS(names_nlm_state), 0, "state", HFILL }}, |