diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-10-23 21:17:03 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-10-23 21:17:03 +0000 |
commit | d5f34ad8b2c85b08bfdadc3c021c0f24b34cdfbc (patch) | |
tree | c89f8870831ade2133bd93de09ca10833fa33f5d /packet-hclnfsd.c | |
parent | 6cfdb3c0ed0f3879f238608aed5773ae367d8719 (diff) | |
download | wireshark-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-hclnfsd.c')
-rw-r--r-- | packet-hclnfsd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-hclnfsd.c b/packet-hclnfsd.c index 2998d8268a..d6b1a22a97 100644 --- a/packet-hclnfsd.c +++ b/packet-hclnfsd.c @@ -2,7 +2,7 @@ * Routines for hclnfsd (Hummingbird NFS Daemon) dissection * Copyright 2001, Mike Frisch <frisch@hummingbird.com> * - * $Id: packet-hclnfsd.c,v 1.17 2002/08/28 21:00:16 jmayer Exp $ + * $Id: packet-hclnfsd.c,v 1.18 2002/10/23 21:17:01 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -851,5 +851,5 @@ proto_reg_handoff_hclnfsd(void) rpc_init_prog(proto_hclnfsd, HCLNFSD_PROGRAM, ett_hclnfsd); /* Register the procedure tables */ - rpc_init_proc_table(HCLNFSD_PROGRAM, 1, hclnfsd1_proc); + rpc_init_proc_table(HCLNFSD_PROGRAM, 1, hclnfsd1_proc, -1); } |