X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=prometheus.c;h=9078db41509b2dc16e95f6d417d28924b2f980da;hb=43e0728047887e5c00fff608e94b0ae080fd3fad;hp=3abaa34ecb78b77d2ed83100e20b42b3d05f13f2;hpb=99127c70a2642b70ed3cde02f22ed2e4fc5d126f;p=svn%2FPrometheus-QoS%2F.git diff --git a/prometheus.c b/prometheus.c index 3abaa34..9078db4 100644 --- a/prometheus.c +++ b/prometheus.c @@ -7,7 +7,7 @@ /* === Credits: CZFree.Net, Martin Devera, Netdave, Aquarius === */ /* ============================================================= */ -/* Modified: xChaos, 20080119 +/* Modified: xChaos, 20080201 ludva, 20071227 Prometheus QoS is free software; you can redistribute it and/or @@ -28,12 +28,12 @@ #define STRLEN 256 #define FIRSTGROUPID 1024 -#define MAX_GUARANTED_KBPS 2048 +#define FIRSTIPCLASS 2048 #undef DEBUG -#include "cll1.h" +#include "cll1-0.6.h" -const char *version="0.7.7-1"; /*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) {