iptables --burst-limit added + some preliminary packet statistics in html output...
[svn/Prometheus-QoS/.git] / prometheus.c
index 279da9b75d28b4fd245b28ed4e6165eaae86fc91..c3ae02cd9bc88c60708f2441afa5283c4cb9fc64 100644 (file)
@@ -7,7 +7,7 @@
 /* Credit: CZFree.Net,Martin Devera,Netdave,Aquarius,Gandalf  */\r
 /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */\r
 \r
-/* Modified by: xChaos, 20131118\r
+/* Modified by: xChaos, 20131119\r
                  ludva, 20080415\r
  \r
    Prometheus QoS is free software; you can redistribute it and/or\r
@@ -1130,7 +1130,8 @@ Credit: CZFree.Net, Martin Devera, Netdave, Aquarius, Gandalf\n\n",version);
   /* packet limits - this will be optional in future, hardcoded for now */\r
   if(ip->pps_limit)\r
   {\r
-   sprintf(limit_pkts, "-m limit --limit %d/s ", ip->pps_limit);\r
+   sprintf(limit_pkts, "-m limit --limit %d/s --limit-burst %d ", \r
+                       ip->pps_limit, ip->pps_limit);\r
   }\r
   else\r
   {\r
This page took 0.141708 seconds and 4 git commands to generate.