Fix NFS protocol parser.

This commit is contained in:
Julien Wallior 2017-02-08 17:25:51 -05:00
parent 391685af73
commit 04478acb59

View file

@ -250,8 +250,8 @@ int NFS_Interp::RPC_BuildReply(RPC_CallInfo* c, BifEnum::rpc_status rpc_status,
analyzer->ConnectionEvent(event, vl); analyzer->ConnectionEvent(event, vl);
} }
else
Unref(reply); Unref(reply);
return 1; return 1;
} }
@ -646,7 +646,7 @@ Val* NFS_Interp::ExtractBool(const u_char*& buf, int& n)
NFS_Analyzer::NFS_Analyzer(Connection* conn) NFS_Analyzer::NFS_Analyzer(Connection* conn)
: RPC_Analyzer("RPC", conn, new NFS_Interp(this)) : RPC_Analyzer("NFS", conn, new NFS_Interp(this))
{ {
orig_rpc = resp_rpc = 0; orig_rpc = resp_rpc = 0;
} }