source code beautification
[svn/Prometheus-QoS/.git] / prometheus.c
index bd1a8d03737309718e2fcf4426919041244f68af..a4dd301d7689cc257ea50ce2327d888ee3bd381b 100644 (file)
@@ -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.09553 seconds and 4 git commands to generate.