diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-10-14 16:45:24 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-10-14 16:45:24 +0000 |
commit | 53805112f1a301f77cda93b68e6fa3054895f20f (patch) | |
tree | 663a0fba5025adfc2456c25a97a044c0533f38e5 /source/utils/nmblookup.c | |
parent | 8ff4df1f0e528eb96a11c0de48b01f5745d08737 (diff) | |
download | samba-53805112f1a301f77cda93b68e6fa3054895f20f.tar.gz |
set recursion desired for bcast name query
Diffstat (limited to 'source/utils/nmblookup.c')
-rw-r--r-- | source/utils/nmblookup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/utils/nmblookup.c b/source/utils/nmblookup.c index 477d6590f02..971715f327c 100644 --- a/source/utils/nmblookup.c +++ b/source/utils/nmblookup.c @@ -218,7 +218,8 @@ int main(int argc,char *argv[]) sscanf(p+1,"%x",&lookup_type); } - if ((ip_list = name_query(ServerFD,lookup,lookup_type,use_bcast,recursion_desired, + if ((ip_list = name_query(ServerFD,lookup,lookup_type,use_bcast, + use_bcast?True:recursion_desired, bcast_addr,&count,NULL))) { for (j=0;j<count;j++) printf("%s %s<%02x>\n",inet_ntoa(ip_list[j]),lookup, lookup_type); |