diff --git a/nselib/rmi.lua b/nselib/rmi.lua index e85e55afe..a5825d862 100644 --- a/nselib/rmi.lua +++ b/nselib/rmi.lua @@ -786,7 +786,7 @@ function RmiDataStream:writeMethodCall(out,objNum, hash, op, arguments) -- Send Call: dos:writeByte(0x50) -- Send Magic 0xaced - dos:writeShort(0xACED) + dos:writeUnsignedShort(0xACED) -- Send version 0x0005 dos:writeShort(0x0005) -- Send TC_BLOKDATA