aboutsummaryrefslogtreecommitdiffstats
path: root/packet-nlm.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-09-13 08:02:11 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-09-13 08:02:11 +0000
commitaa12c7a1065177ab75cc9b4aa024f82b352a463c (patch)
treeb2a45ee8ca5f0074eccf30fa152e40480c3d07b0 /packet-nlm.c
parent69a21c7be66ce61e93c74bae4e76feb8fa819029 (diff)
NLM fix, and change of status monitor callback protocol name to use "_"
rather than "-" ("-" upsets the display filter parser), from Ronnie Sahlberg. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3924 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-nlm.c')
-rw-r--r--packet-nlm.c8
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 }},