X-Git-Url: https://git.harvie.cz/?p=svn%2FPrometheus-QoS%2F.git;a=blobdiff_plain;f=prometheus.c;h=9078db41509b2dc16e95f6d417d28924b2f980da;hp=95d2493f4369ff424f9fcb541b7cd324459bf87e;hb=43e0728047887e5c00fff608e94b0ae080fd3fad;hpb=971f81925823eb7141b02138904bec65a13d8bde diff --git a/prometheus.c b/prometheus.c index 95d2493..9078db4 100644 --- a/prometheus.c +++ b/prometheus.c @@ -28,12 +28,12 @@ #define STRLEN 256 #define FIRSTGROUPID 1024 -#define MAX_GUARANTED_KBPS 2048 +#define FIRSTIPCLASS 2048 #undef DEBUG #include "cll1-0.6.h" -const char *version="0.7.7-2"; /*0.7.9 will be last development, 0.8.0 first stable */ +const char *version="0.7.8"; /*0.7.9 will be last development, 0.8.0 first stable */ /* ======= Help screen is hopefuly self-documenting part of code :-) ======= */ @@ -748,7 +748,7 @@ Credits: CZFree.Net, Martin Devera, Netdave, Aquarius\n\n",version); if(ip->maxmin) ip->max=ip->min; } - ip->mark=MAX_GUARANTED_KBPS+1+class_count++; + ip->mark=FIRSTIPCLASS+1+class_count++; find(group,groups,group->min==ip->min) {