From 75b44c30ac07256e6a87dd59a3e1933d346b12be Mon Sep 17 00:00:00 2001 From: ron Date: Tue, 31 Mar 2009 15:08:33 +0000 Subject: [PATCH] Fix for forgotten endian-modifier (caused errors on Solaris) -- Stephane Rose pointed it out --- nselib/msrpc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nselib/msrpc.lua b/nselib/msrpc.lua index 414ebc423..ab0d22484 100644 --- a/nselib/msrpc.lua +++ b/nselib/msrpc.lua @@ -241,7 +241,7 @@ function bind(smbstate, interface_uuid, interface_version, transfer_syntax) end -- If we made it this far, then we have a valid Bind() result. Pull out some more parameters. - pos, result['max_transmit_frag'], result['max_receive_frag'], result['assoc_group'], result['secondary_address_length'] = bin.unpack("SSIS", data, pos) + pos, result['max_transmit_frag'], result['max_receive_frag'], result['assoc_group'], result['secondary_address_length'] = bin.unpack("