diff options
author | Robert S. French <rfrench@mit.edu> | 1987-11-03 08:19:34 +0000 |
---|---|---|
committer | Robert S. French <rfrench@mit.edu> | 1987-11-03 08:19:34 +0000 |
commit | acf772a12b2cd7d9462fea8dd563e5259a27c258 (patch) | |
tree | cb54c54670aa89a30381ed34a03a328ae2c9d39d /clients/zstat | |
parent | 9084e123616faed304313de6e39402305e3a5853 (diff) |
Added protocol version number display
Diffstat (limited to 'clients/zstat')
-rw-r--r-- | clients/zstat/zstat.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clients/zstat/zstat.c b/clients/zstat/zstat.c index ed0a925..785969f 100644 --- a/clients/zstat/zstat.c +++ b/clients/zstat/zstat.c @@ -212,6 +212,8 @@ hm_stat(host,server) strcpy(server,line[0]); + printf("HostManager protocol version = %s\n",notice.z_version); + for (i=0;i<nf;i++) { if (!strncmp("Time",head[i],4)) { runtime = atol(line[i]); @@ -303,6 +305,8 @@ srv_stat(host) mp += strlen(mp)+1; } + printf("Server protocol version = %s\n",notice.z_version); + for (i=0; i<nf; i++) { if (i < 2) printf("%s %s\n",srv_head[i],line[i]); |