minor bugfixes (#ifdef MONITORINGTRHU)
[svn/Prometheus-QoS/.git] / rpm / prometheus-conf-rh.patch
1 --- prometheus.c 2008-01-06 11:54:28.000000000 +0100
2 +++ prometheus-rh.c 2008-01-06 11:54:09.000000000 +0100
3 @@ -57,17 +57,17 @@
4 char *mark="MARK";
5 char *mark_iptables="MARK --set-mark ";
6 int dry_run=0; /* preview - use puts() instead of system() */
7 -char *config="/etc/prometheus.conf"; /* main configuration file */
8 -char *hosts="/etc/hosts"; /* line bandwidth definition file */
9 +char *config="/etc/prometheus/prometheus.conf"; /* main configuration file */
10 +char *hosts="/etc/prometheus/hosts"; /* line bandwidth definition file */
11 char *tc="/sbin/tc"; /* requires tc with HTB support */
12 -char *iptables="/usr/sbin/iptables"; /* requires iptables utility */
13 -char *iptablessave="/usr/sbin/iptables-save"; /* new */
14 -char *iptablesrestore="/usr/sbin/iptables-restore"; /* new */
15 +char *iptables="/sbin/iptables"; /* requires iptables utility */
16 +char *iptablessave="/sbin/iptables-save"; /* new */
17 +char *iptablesrestore="/sbin/iptables-restore"; /* new */
18 char *iptablesfile="/var/spool/prometheus.iptables"; /* new; file for iptables-restore*/
19 char *iptablespreamble="*mangle\n:PREROUTING ACCEPT [0:0]\n:POSTROUTING ACCEPT [0:0]\n:INPUT ACCEPT [0:0]\n:OUTPUT ACCEPT [0:0]\n:FORWARD ACCEPT [0:0]";
20 FILE *iptables_file=NULL;
21 -char *html="/var/www/traffic.html"; /* hall of fame filename */
22 -char *preview="/var/www/preview.html"; /* hall of fame preview */
23 +char *html="/var/www/html/traffic.html"; /* hall of fame filename */
24 +char *preview="/var/www/html/preview.html"; /* hall of fame preview */
25 char *cmdlog="/var/log/prometheus"; /* command log filename */
26 char *credit="/var/run/prometheus.credit"; /* credit log file */
27 int enable_credit=1; /* enable credit file */
28 @@ -93,7 +93,7 @@
29 int qos_free_delay=0; /* seconds to sleep before applying new QoS rules */
30 int digital_divide=2; /* controls digital divide weirdness ratio, 1...3 */
31 int max_nesting=3; /* maximum nesting of HTB clases, built-in maximum seems to be 4 */
32 -int htb_r2q=1;
33 +int htb_r2q=1;
34 int burst=8; /* HTB burst (in kbits) */
35 int burst_main=64;
36 int burst_group=32;
This page took 0.29514 seconds and 5 git commands to generate.