aboutsummaryrefslogtreecommitdiffstats
path: root/packet-nfsacl.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-10-06 20:46:52 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-10-06 20:46:52 +0000
commit51ef4f20c1f7aaaa633d45e3152f6f90132fffc3 (patch)
treeb4e06d0ffcec8e4e517a4e3aa5774fe630c0b105 /packet-nfsacl.c
parentecacc009753d57fcf80f2df739dec0715d4d7e69 (diff)
When registering a field, make sure its ID is -1 or 0 - if it's not,
that probably means you've registered two fields with the same field ID variable, which is an error. Fix the bugs doing so found. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8629 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-nfsacl.c')
-rw-r--r--packet-nfsacl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-nfsacl.c b/packet-nfsacl.c
index 0095c01ab8..ea86702c1c 100644
--- a/packet-nfsacl.c
+++ b/packet-nfsacl.c
@@ -4,7 +4,7 @@
*
* Guy Harris <guy@alum.mit.edu>
*
- * $Id: packet-nfsacl.c,v 1.10 2003/09/28 01:52:57 sahlberg Exp $
+ * $Id: packet-nfsacl.c,v 1.11 2003/10/06 20:46:51 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -43,7 +43,7 @@ static int hf_nfsacl2_status = -1;
static int hf_nfsacl3_status = -1;
static int hf_nfsacl_aclent = -1;
static int hf_nfsacl_aclent_type = -1;
-static int hf_nfsacl_aclent_uid = 1;
+static int hf_nfsacl_aclent_uid = -1;
static int hf_nfsacl_aclent_perm = -1;
static int hf_nfsacl_create = -1;