Author: jan
Date: 2007-06-26 16:57:51 +0200 (Tue, 26 Jun 2007)
New Revision: 242

Modified:
   trunk/openvas-libraries/ChangeLog
   trunk/openvas-libraries/libhosts_gatherer/hg_add_hosts.c
Log:
* libhosts_gatherer/hg_add_hosts.c: Backported patch from original
nessus-libraries branch NESSUS_2_2 as committed by Renaud Deraison
June, 25 2007. Original commit message there: "bugfix".


Modified: trunk/openvas-libraries/ChangeLog
===================================================================
--- trunk/openvas-libraries/ChangeLog   2007-06-22 15:09:14 UTC (rev 241)
+++ trunk/openvas-libraries/ChangeLog   2007-06-26 14:57:51 UTC (rev 242)
@@ -1,3 +1,9 @@
+2007-06-26  Jan-Oliver Wagner <[EMAIL PROTECTED]>
+
+       * libhosts_gatherer/hg_add_hosts.c: Backported patch from original
+       nessus-libraries branch NESSUS_2_2 as committed by Renaud Deraison
+       June, 25 2007. Original commit message there: "bugfix".
+
 2007-06-22  Bernhard Herzog  <[EMAIL PROTECTED]>
 
        * libopenvas/network.c (nessus_SSL_password_cb): Removed because

Modified: trunk/openvas-libraries/libhosts_gatherer/hg_add_hosts.c
===================================================================
--- trunk/openvas-libraries/libhosts_gatherer/hg_add_hosts.c    2007-06-22 
15:09:14 UTC (rev 241)
+++ trunk/openvas-libraries/libhosts_gatherer/hg_add_hosts.c    2007-06-26 
14:57:51 UTC (rev 242)
@@ -315,7 +315,7 @@
           int dobreak = 0;
           
          
-          if(c_end.s_addr == last.s_addr) dobreak++;
+          if(ntohl(c_end.s_addr) >= ntohl(last.s_addr)) dobreak++;
           hg_get_name_from_ip(c_start, hostname, sizeof(hostname));
        
            hg_add_host_with_options(globals, strdup(hostname), 

_______________________________________________
Openvas-commits mailing list
[email protected]
http://lists.wald.intevation.org/mailman/listinfo/openvas-commits

Reply via email to