aboutsummaryrefslogtreecommitdiffstats
path: root/ncp2222.py
diff options
context:
space:
mode:
authorgram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>2002-05-24 11:45:51 +0000
committergram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>2002-05-24 11:45:51 +0000
commit985849c7cd295248a098823d15e7aeb475d7ab92 (patch)
tree8a41c035aa98a41b4f5e856160d65e27e2628aac /ncp2222.py
parentc511f7a894ac63b4b29f962384fb6e5a2b02e4ac (diff)
Fix the definition of AllocateMode; it's only ever used as a 2-byte
value, so make it a val_string16 instead of a val_string8. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5547 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'ncp2222.py')
-rwxr-xr-xncp2222.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/ncp2222.py b/ncp2222.py
index 8c2145f692..f325bd7653 100755
--- a/ncp2222.py
+++ b/ncp2222.py
@@ -24,7 +24,7 @@ http://developer.novell.com/ndk/doc/docui/index.htm#../ncp/ncp__enu/data/
for a badly-formatted HTML version of the same PDF.
-$Id: ncp2222.py,v 1.23 2002/05/24 11:38:22 gram Exp $
+$Id: ncp2222.py,v 1.24 2002/05/24 11:45:51 gram Exp $
Copyright (c) 2000-2002 by Gilbert Ramirez <gram@alumni.rice.edu>
@@ -1238,10 +1238,10 @@ AddNameSpaceAndVol = stringz("add_nm_spc_and_vol", "Add Name Space
AFPEntryID = uint32("afp_entry_id", "AFP Entry ID", BE)
AFPEntryID.Display("BASE_HEX")
AllocAvailByte = uint32("alloc_avail_byte", "Bytes Available for Allocation")
-AllocateMode = val_string8("allocate_mode", "Allocate Mode", [
- [ 0x00, "Permanent Directory Handle" ],
- [ 0x01, "Temporary Directory Handle" ],
- [ 0x02, "Special Temporary Directory Handle" ],
+AllocateMode = val_string16("allocate_mode", "Allocate Mode", [
+ [ 0x0000, "Permanent Directory Handle" ],
+ [ 0x0001, "Temporary Directory Handle" ],
+ [ 0x0002, "Special Temporary Directory Handle" ],
])
AllocationBlockSize = uint32("allocation_block_size", "Allocation Block Size")
AllocFreeCount = uint32("alloc_free_count", "Reclaimable Free Bytes")