aboutsummaryrefslogtreecommitdiffstats
path: root/packet-pcnfsd.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-10-23 21:17:03 +0000
committerGuy Harris <guy@alum.mit.edu>2002-10-23 21:17:03 +0000
commitd5f34ad8b2c85b08bfdadc3c021c0f24b34cdfbc (patch)
treec89f8870831ade2133bd93de09ca10833fa33f5d /packet-pcnfsd.c
parent6cfdb3c0ed0f3879f238608aed5773ae367d8719 (diff)
downloadwireshark-d5f34ad8b2c85b08bfdadc3c021c0f24b34cdfbc.tar.gz
wireshark-d5f34ad8b2c85b08bfdadc3c021c0f24b34cdfbc.tar.bz2
wireshark-d5f34ad8b2c85b08bfdadc3c021c0f24b34cdfbc.zip
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". svn path=/trunk/; revision=6486
Diffstat (limited to 'packet-pcnfsd.c')
-rw-r--r--packet-pcnfsd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-pcnfsd.c b/packet-pcnfsd.c
index 3ec09c32ee..9f943e061b 100644
--- a/packet-pcnfsd.c
+++ b/packet-pcnfsd.c
@@ -1,7 +1,7 @@
/* packet-pcnfsd.c
* Routines for PCNFSD dissection
*
- * $Id: packet-pcnfsd.c,v 1.10 2002/08/28 21:00:25 jmayer Exp $
+ * $Id: packet-pcnfsd.c,v 1.11 2002/10/23 21:17:02 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -404,7 +404,7 @@ proto_reg_handoff_pcnfsd(void)
/* Register the protocol as RPC */
rpc_init_prog(proto_pcnfsd, PCNFSD_PROGRAM, ett_pcnfsd);
/* Register the procedure tables */
- rpc_init_proc_table(PCNFSD_PROGRAM, 1, pcnfsd1_proc);
- rpc_init_proc_table(PCNFSD_PROGRAM, 2, pcnfsd2_proc);
+ rpc_init_proc_table(PCNFSD_PROGRAM, 1, pcnfsd1_proc, -1);
+ rpc_init_proc_table(PCNFSD_PROGRAM, 2, pcnfsd2_proc, -1);
}