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-rquota.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-rquota.c')
-rw-r--r-- | packet-rquota.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-rquota.c b/packet-rquota.c index 1a374967a4..4e984c79c4 100644 --- a/packet-rquota.c +++ b/packet-rquota.c @@ -2,7 +2,7 @@ * Routines for rquota dissection * Copyright 2001, Mike Frisch <frisch@hummingbird.com> * - * $Id: packet-rquota.c,v 1.9 2002/08/28 21:00:29 jmayer Exp $ + * $Id: packet-rquota.c,v 1.10 2002/10/23 21:17:03 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -236,7 +236,7 @@ proto_reg_handoff_rquota(void) /* Register the protocol as RPC */ rpc_init_prog(proto_rquota, RQUOTA_PROGRAM, ett_rquota); /* Register the procedure tables */ - rpc_init_proc_table(RQUOTA_PROGRAM, 1, rquota1_proc); + rpc_init_proc_table(RQUOTA_PROGRAM, 1, rquota1_proc, -1); } |