diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-10-23 21:17:03 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-10-23 21:17:03 +0000 |
commit | 7bfeb66c5938fb20eaca3ee1f1a0316ddd0252e8 (patch) | |
tree | c89f8870831ade2133bd93de09ca10833fa33f5d /packet-nfsacl.c | |
parent | 706a463690ea61bf587034924fd86beba43d136e (diff) |
Add an extra argument to "rpc_init_proc_table()" that can specify an hf_
value for a field to be used for the procedure number for that version
of the protocol; use that field, if specified, instead of just putting
in a generic "rpc.procedure" field.
Have the ypserv dissector register those fields and supply them to
"rpc_init_proc_table()". Supply -1 for other RPC programs (for now),
meaning "no such field exists".
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6486 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-nfsacl.c')
-rw-r--r-- | packet-nfsacl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packet-nfsacl.c b/packet-nfsacl.c index aa98d4d737..dc445ed7e6 100644 --- a/packet-nfsacl.c +++ b/packet-nfsacl.c @@ -4,7 +4,7 @@ * * Guy Harris <guy@alum.mit.edu> * - * $Id: packet-nfsacl.c,v 1.3 2002/08/02 23:35:55 jmayer Exp $ + * $Id: packet-nfsacl.c,v 1.4 2002/10/23 21:17:02 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -106,7 +106,7 @@ proto_reg_handoff_nfsacl(void) /* Register the protocol as RPC */ rpc_init_prog(proto_nfsacl, NFSACL_PROGRAM, ett_nfsacl); /* Register the procedure tables */ - rpc_init_proc_table(NFSACL_PROGRAM, 1, nfsacl1_proc); - rpc_init_proc_table(NFSACL_PROGRAM, 2, nfsacl2_proc); - rpc_init_proc_table(NFSACL_PROGRAM, 3, nfsacl3_proc); + rpc_init_proc_table(NFSACL_PROGRAM, 1, nfsacl1_proc, -1); + rpc_init_proc_table(NFSACL_PROGRAM, 2, nfsacl2_proc, -1); + rpc_init_proc_table(NFSACL_PROGRAM, 3, nfsacl3_proc, -1); } |