samba-cvs.cvs
[Top] [All Lists]

svn commit: samba r13530 - in branches/SAMBA_3_0/source/utils: .

Subject: svn commit: samba r13530 - in branches/SAMBA_3_0/source/utils: .
From:
Date: Thu, 16 Feb 2006 20:50:41 +0000 GMT
Author: jra
Date: 2006-02-16 20:50:41 +0000 (Thu, 16 Feb 2006)
New Revision: 13530

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13530

Log:
Fix from William Jojo for #1970. Make nmblookup do
a node status on all IP's when requested.
Jeremy.

Modified:
   branches/SAMBA_3_0/source/utils/nmblookup.c


Changeset:
Modified: branches/SAMBA_3_0/source/utils/nmblookup.c
===================================================================
--- branches/SAMBA_3_0/source/utils/nmblookup.c 2006-02-16 20:22:54 UTC (rev 
13529)
+++ branches/SAMBA_3_0/source/utils/nmblookup.c 2006-02-16 20:50:41 UTC (rev 
13530)
@@ -169,15 +169,14 @@
                        }
                }
                d_printf("%s %s<%02x>\n",inet_ntoa(ip_list[j]),lookup, 
lookup_type);
+               /* We can only do find_status if the ip address returned
+                  was valid - ie. name_query returned true.
+                */
+               if (find_status) {
+                       do_node_status(ServerFD, lookup, lookup_type, 
ip_list[j]);
+               }
        }
 
-       /* We can only do find_status if the ip address returned
-          was valid - ie. name_query returned true.
-       */
-       if (find_status) {
-               do_node_status(ServerFD, lookup, lookup_type, ip_list[0]);
-       }
-
        safe_free(ip_list);
 
        return (ip_list != NULL);

<Prev in Thread] Current Thread [Next in Thread>
  • svn commit: samba r13530 - in branches/SAMBA_3_0/source/utils: ., jra <=