/* Prometheus QoS - you can "steal fire" from your ISP */\r
/* "fair-per-IP" quality of service (QoS) utility */\r
/* requires Linux 2.4.x or 2.6.x with HTB support */\r
-/* Copyright(C) 2005-2012 Michael Polak, Arachne Labs */\r
+/* Copyright(C) 2005-2013 Michael Polak, Arachne Labs */\r
/* iptables-restore support Copyright(C) 2007-2008 ludva */\r
/* Credit: CZFree.Net,Martin Devera,Netdave,Aquarius,Gandalf */\r
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */\r
\r
-/* Modified by: xChaos, 20121011\r
+/* Modified by: xChaos, 20130107\r
ludva, 20080415\r
\r
Prometheus QoS is free software; you can redistribute it and/or\r
keyword->leaf_discipline="";\r
\r
push(keyword,keywords);\r
- if(!defaultkeyword) defaultkeyword=keyword;\r
+ if(!defaultkeyword)\r
+ {\r
+ defaultkeyword=keyword;\r
+ }\r
keywordcount++;\r
\r
kwd=NULL;\r
else \r
{\r
TheIP();\r
- ip->addr=ipaddr;\r
+ ip->addr = ipaddr;\r
if(eq(ip->addr,"0.0.0.0/0"))\r
{\r
- ip->name="(unregistered)";\r
- ip->min=free_min;\r
- ip->max=ip->desired=free_max;\r
+ ip->name = "(unregistered)";\r
+ ip->min = free_min;\r
+ ip->max = ip->desired=free_max;\r
+ }\r
+ else\r
+ {\r
+ ip->name = ipaddr;\r
}\r
}\r
\r