X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=prometheus.c;h=1227592f5e566027f35ced5bf9272bc9c0234e6f;hb=7ae5a5939e4328ed4a1d8c025ea6769265574260;hp=dea239a2e9366b429790ce9389f976486fe23a03;hpb=a25842fafee4469c8acbacd673fc4c905bcab3f9;p=svn%2FPrometheus-QoS%2F.git diff --git a/prometheus.c b/prometheus.c index dea239a..1227592 100644 --- a/prometheus.c +++ b/prometheus.c @@ -98,11 +98,11 @@ char *ip6prefix = NULL; /* Prefix for global /48 IPv6 subnet */ char *wan_medium = "100Mbit"; /* 10Mbit/100Mbit ethernet */ char *qos_leaf = "sfq perturb 5"; /* leaf discipline */ char *qos_free_zone = NULL; /* QoS free zone */ -int qos_proxy = TRUE; /* include proxy port to QoS */ +/* int qos_proxy = TRUE; include proxy port to QoS */ int found_lmsid = FALSE; /* show links to users in LMS information system */ int include_upload = TRUE; /* upload+download=total traffic */ -char *proxy_ip = "192.168.1.1/32"; /* our IP with proxy port */ -int proxy_port = 3128; /* proxy port number */ +/* char *proxy_ip = "192.168.1.1/32"; our IP with proxy port */ +/* int proxy_port = 3128; proxy port number */ long long int line = 1024; /* WAN/ISP download in kbps */ long long int up = 1024; /* WAN/ISP upload in kbps */ int free_min = 256; /* minimum guaranted bandwidth for all undefined hosts */ @@ -310,10 +310,10 @@ void get_config(char *config_filename) ioption("use-jquery-popups",use_jquery_popups); option("qos-free-zone",qos_free_zone); ioption("qos-free-delay",qos_free_delay); - ioption("qos-proxy-enable",qos_proxy); - option("qos-proxy-ip",proxy_ip); +/* ioption("qos-proxy-enable",qos_proxy); */ +/* option("qos-proxy-ip",proxy_ip);*/ option("htb-leaf-discipline",qos_leaf); - ioption("qos-proxy-port",proxy_port); +/* ioption("qos-proxy-port",proxy_port); */ ioption("free-rate",free_min); ioption("free-ceil",free_max); ioption("htb-burst",burst);