Skip to content
Browse files

Fix auth_flavors unpacking

  • Loading branch information...
1 parent b699f35 commit 7ca3ba53c2d119b3f876d867c56401bac10f00cc @bonsaiviking committed
Showing with 4 additions and 1 deletion.
  1. +4 −1 nfspy/mountclient.py
View
5 nfspy/mountclient.py
@@ -83,7 +83,10 @@ def unpack_fhstatus(self):
if status == 0:
fh = self.unpack_fhandle()
#Not sure how to use this:
- auth_flavors = self.unpack_uint()
+ num_flavors = self.unpack_uint()
+ auth_flavors = []
+ for n in xrange(num_flavors):
+ auth_flavors.append(self.unpack_uint())
else:
fh = None
return status, fh, auth_flavors

0 comments on commit 7ca3ba5

Please sign in to comment.
Something went wrong with that request. Please try again.