optional hosts-based snat-dnat tools modified to generate iptables restore config
[svn/Prometheus-QoS/.git] / prometheus.c
index bd1a8d03737309718e2fcf4426919041244f68af..0c0d93bbb7d85d6f81f6490f24ace26d95a62010 100644 (file)
@@ -40,7 +40,7 @@ const char *version = "0.8.3";
 /* C source code development versions ("beta"): 0.7.9-a, 0.8.1-b, etc. */\r
 /* C source code release versions: 0.8.0, 0.8.2, 0.8.4, etc. */\r
 \r
-const char *stats_html_signature = "<small>Statistics generated by Prometheus QoS version %s<br>GPL+Copyright(C)2005-2008 Michael Polak, <a href=\"http://www.arachne.cz/\">Arachne Labs</a></small>\n";\r
+const char *stats_html_signature = "<small>Statistics generated by Prometheus QoS version %s<br>GPL+Copyright(C)2005-2011 Michael Polak, <a href=\"http://www.arachne.cz/\">Arachne Labs</a></small>\n";\r
 \r
 /* ======= All path names are defined here (for RPM patch) =======  */\r
 \r
@@ -185,7 +185,7 @@ struct Keyword
  int asymetry_ratio;        /* ratio for ADSL-like upload */\r
  int asymetry_fixed;        /* fixed treshold for ADSL-like upload */\r
  int data_limit;            /* hard shaping: apply magic_treshold if max*data_limit MB exceeded */\r
- int data_prio;            /* soft shaping (qos): reduce HTB prio if max*data_prio MB exceeded */\r
+ int data_prio;             /* soft shaping (qos): reduce HTB prio if max*data_prio MB exceeded */\r
  long fixed_limit;          /* fixed data limit for setting lower HTB ceil */\r
  long fixed_prio;           /* fixed data lmit for setting lower HTB prio */\r
  int reserve_min;          /* bonus for nominal HTB rate bandwidth (in kbps) */\r
@@ -205,15 +205,23 @@ struct Keyword
 void TheIP(void)\r
 {\r
  create(ip,IP);\r
- ip->name="";\r
- ip->addr="";\r
- ip->sharing=NULL;\r
- ip->prio=highest_priority+1;\r
- ip->fixedprio=0;\r
- ip->mark=ip->min=ip->max=ip->desired=ip->credit=0;\r
- ip->upload=ip->proxy=ip->direct=ip->traffic=0;\r
- ip->pktsup=ip->pktsdown=0;\r
- ip->keyword=keywords;\r
+ ip->name        = "";\r
+ ip->addr        = "";\r
+ ip->sharing     = NULL;\r
+ ip->prio        = highest_priority+1;\r
+ ip->fixedprio   = 0;\r
+ ip->mark        = \\r
+ ip->min         = \\r
+ ip->max         = \\r
+ ip->desired     = \\r
+ ip->credit      = \\r
+ ip->upload      = \\r
+ ip->proxy       = \\r
+ ip->direct      = \\r
+ ip->traffic     = \\r
+ ip->pktsup      = \\r
+ ip->pktsdown    = 0;\r
+ ip->keyword     = keywords;\r
  push(ip,ips);\r
 }\r
 \r
This page took 0.099045 seconds and 4 git commands to generate.