aboutsummaryrefslogtreecommitdiffstats
path: root/tap-rpcstat.c
diff options
context:
space:
mode:
authorChris Maynard <Christopher.Maynard@GTECH.COM>2011-03-23 20:00:13 +0000
committerChris Maynard <Christopher.Maynard@GTECH.COM>2011-03-23 20:00:13 +0000
commitfeb1d468d86123b9b36207c97c67cebdab85de7a (patch)
tree0c0ebe45725b2d130939188f4791ab721050c99b /tap-rpcstat.c
parente7a6230ecae296d7658399b3891d30fca668069b (diff)
From: http://www.wireshark.org/lists/wireshark-dev/201103/msg00157.html
Change RTT references to SRT. (tshark.pod could use a description for -z afp,srt and -z camel,srt) svn path=/trunk/; revision=36297
Diffstat (limited to 'tap-rpcstat.c')
-rw-r--r--tap-rpcstat.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tap-rpcstat.c b/tap-rpcstat.c
index b61e09333f..dd3aab0418 100644
--- a/tap-rpcstat.c
+++ b/tap-rpcstat.c
@@ -277,14 +277,14 @@ rpcstat_init(const char *optarg, void* userdata _U_)
const char *filter=NULL;
GString *error_string;
- if(sscanf(optarg,"rpc,rtt,%d,%d,%n",&program,&version,&pos)==2){
+ if(sscanf(optarg,"rpc,srt,%d,%d,%n",&program,&version,&pos)==2){
if(pos){
filter=optarg+pos;
} else {
filter=NULL;
}
} else {
- fprintf(stderr, "tshark: invalid \"-z rpc,rtt,<program>,<version>[,<filter>]\" argument\n");
+ fprintf(stderr, "tshark: invalid \"-z rpc,srt,<program>,<version>[,<filter>]\" argument\n");
exit(1);
}
@@ -339,7 +339,7 @@ rpcstat_init(const char *optarg, void* userdata _U_)
g_free(rs->filter);
g_free(rs);
- fprintf(stderr, "tshark: Couldn't register rpc,rtt tap: %s\n",
+ fprintf(stderr, "tshark: Couldn't register rpc,srt tap: %s\n",
error_string->str);
g_string_free(error_string, TRUE);
exit(1);
@@ -350,6 +350,6 @@ rpcstat_init(const char *optarg, void* userdata _U_)
void
register_tap_listener_rpcstat(void)
{
- register_stat_cmd_arg("rpc,rtt,", rpcstat_init,NULL);
+ register_stat_cmd_arg("rpc,srt,", rpcstat_init,NULL);
}