X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=prometheus.c;h=c3ae02cd9bc88c60708f2441afa5283c4cb9fc64;hb=8e7aa99528485133231579d5933643eecfe0e0af;hp=279da9b75d28b4fd245b28ed4e6165eaae86fc91;hpb=06733b885c35e5bf83505d064c55ccdda848ac01;p=svn%2FPrometheus-QoS%2F.git diff --git a/prometheus.c b/prometheus.c index 279da9b..c3ae02c 100644 --- a/prometheus.c +++ b/prometheus.c @@ -7,7 +7,7 @@ /* Credit: CZFree.Net,Martin Devera,Netdave,Aquarius,Gandalf */ /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ -/* Modified by: xChaos, 20131118 +/* Modified by: xChaos, 20131119 ludva, 20080415 Prometheus QoS is free software; you can redistribute it and/or @@ -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 */ if(ip->pps_limit) { - sprintf(limit_pkts, "-m limit --limit %d/s ", ip->pps_limit); + sprintf(limit_pkts, "-m limit --limit %d/s --limit-burst %d ", + ip->pps_limit, ip->pps_limit); } else {