Added a check to see if the sending rate is within 1% of the limit rather than
[distributedratelimiting.git] / drl / standard.c
index 099e6cd..93cb663 100644 (file)
@@ -169,7 +169,10 @@ void standard_table_remove(standard_flow_table table, standard_flow *flow) {
             }
         }
 
-        assert(current != NULL);
+        //assert(current != NULL);
+        if (current == NULL) {
+            printlog(LOG_WARN, "Flow %p disappeared?\n", current);
+        }
     }
 
     /* Remove the flow from the linked list. */