patch-2.1.44 linux/net/ax25/sysctl_net_ax25.c

Next file: linux/net/core/sysctl_net_core.c
Previous file: linux/net/ax25/ax25_uid.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.43/linux/net/ax25/sysctl_net_ax25.c linux/net/ax25/sysctl_net_ax25.c
@@ -17,14 +17,14 @@
 static int min_conmode[] = {0},		max_conmode[] = {2};
 static int min_window[] = {1},		max_window[] = {7};
 static int min_ewindow[] = {1},		max_ewindow[] = {63};
-static int min_t1[] = {1},		max_t1[] = {30 * AX25_SLOWHZ};
-static int min_t2[] = {1},		max_t2[] = {20 * AX25_SLOWHZ};
-static int min_t3[] = {0},		max_t3[] = {3600 * AX25_SLOWHZ};
-static int min_idle[] = {0},		max_idle[] = {65535 * AX25_SLOWHZ};
+static int min_t1[] = {1},		max_t1[] = {30 * HZ};
+static int min_t2[] = {1},		max_t2[] = {20 * HZ};
+static int min_t3[] = {0},		max_t3[] = {3600 * HZ};
+static int min_idle[] = {0},		max_idle[] = {65535 * HZ};
 static int min_n2[] = {1},		max_n2[] = {31};
 static int min_paclen[] = {1},		max_paclen[] = {512};
 static int min_proto[] = {0},		max_proto[] = {3};
-static int min_ds_timeout[] = {0},	max_ds_timeout[] = {65535 * AX25_SLOWHZ};
+static int min_ds_timeout[] = {0},	max_ds_timeout[] = {65535 * HZ};
 
 static struct ctl_table_header *ax25_table_header;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov