summaryrefslogtreecommitdiff
path: root/source3/client/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/client/client.c')
-rw-r--r--source3/client/client.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index cdf33a14b3..6db0f4694e 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -3787,10 +3787,12 @@ static BOOL list_servers(char *wk_grp)
for (i=0;i<count;i++) {
char *sname = p2;
+ uint32 stype = IVAL(p2,18);
int comment_offset = IVAL(p2,22) & 0xFFFF;
- printf("\t%-16.16s %s\n",
- sname,
- comment_offset?rdata+comment_offset-converter:"");
+ printf("\t%-16.16s %s (%8x)\n",
+ sname,
+ comment_offset?rdata+comment_offset-converter:"",
+ stype);
ok=True;
p2 += 26;
@@ -3826,10 +3828,12 @@ static BOOL list_servers(char *wk_grp)
for (i=0;i<count;i++) {
char *sname = p2;
+ uint32 stype = IVAL(p2,18);
int comment_offset = IVAL(p2,22) & 0xFFFF;
- printf("\t%-16.16s %s\n",
- sname,
- comment_offset?rdata+comment_offset-converter:"");
+ printf("\t%-16.16s %s (%8x)\n",
+ sname,
+ comment_offset?rdata+comment_offset-converter:"",
+ stype);
ok=True;
p2 += 26;