Merge pull request #1 from apache/cml/return_all

return all results from a ban search
diff --git a/server/api/pages/search.py b/server/api/pages/search.py
index 9b0f08a..06475b1 100644
--- a/server/api/pages/search.py
+++ b/server/api/pages/search.py
@@ -112,7 +112,7 @@
                         doc['ip'] = doc['rid'].replace('_', '/')
                     found['banlist'].append(doc)
         
-        # Find any iptables rules that may have it as well (max 10)
+        # Find any iptables rules that may have it as well
         found_iptables = 0
         anything = netaddr.IPNetwork("0.0.0.0/0")
         for host in iptables:
@@ -123,14 +123,10 @@
                     rule['ip'] = str(rule['ip']) # stringify
                     found['iptables'].append(rule)
                     found_iptables += 1
-                if found_iptables == 10:
-                    break
-            if found_iptables == 10:
-                break
 
         yield json.dumps({"results": found}, indent = 2)
         return
     
     # Finally, if we hit a method we don't know, balk!
     yield API.exception(400, "I don't know this request method!!")
-    
\ No newline at end of file
+