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

svn commit: samba r13531 - in trunk/source/utils: .

Subject: svn commit: samba r13531 - in trunk/source/utils: .
From:
Date: Thu, 16 Feb 2006 20:50:44 +0000 GMT
Author: jra
Date: 2006-02-16 20:50:43 +0000 (Thu, 16 Feb 2006)
New Revision: 13531

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

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

Modified:
   trunk/source/utils/nmblookup.c


Changeset:
Modified: trunk/source/utils/nmblookup.c
===================================================================
--- trunk/source/utils/nmblookup.c      2006-02-16 20:50:41 UTC (rev 13530)
+++ trunk/source/utils/nmblookup.c      2006-02-16 20:50:43 UTC (rev 13531)
@@ -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 r13531 - in trunk/source/utils: ., jra <=