From 2bfb9bd519601e4ff774dfd7fcbd9d2013d05f56 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Tue, 23 Nov 2004 15:58:26 +0000 Subject: [PATCH] Fixed QoS parsing in connparam blocks. --- CHANGES | 23 +++++++++++++++++++---- apps/silcd/serverconfig.c | 10 +++++----- 2 files changed, 24 insertions(+), 9 deletions(-) diff --git a/CHANGES b/CHANGES index 36e1d6d4..acee17a8 100644 --- a/CHANGES +++ b/CHANGES @@ -1,9 +1,24 @@ +Tue Nov 23 16:54:35 CET 2004 Pekka Riikonen + + * Fixed Win32 scheduler to not stuck anymore. A patch from + Juha Räsänen. Affected file is + lib/silcutil/win32/silcwin32schedule.c. + + * Fixed QoS parsing for connection blocks in server. Affected + file is silcd/serverconfig.c. + + * Fixed server statistics increasing in server. Affected file + is silcd/server.c. + + * The CLOSE command now marks backup router as self disconnected + to avoid resuming problems. Affected file silcd/command.c. + Wed Sep 22 19:46:32 CEST 2004 Patrik Weiskircher - * When using silc_net_create_connection[_async], and your system can - create IPv6 sockets, it will try to connect to the IPv6 host. Now it - tries to connect to an IPv4 host if IPv6 fails. Affected file - lib/silcutil/unix/silcunixnet.c + * When using silc_net_create_connection[_async], and your system can + create IPv6 sockets, it will try to connect to the IPv6 host. + Now it tries to connect to an IPv4 host if IPv6 fails. Affected + file lib/silcutil/unix/silcunixnet.c Fri Jun 18 19:26:58 CEST 2004 Pekka Riikonen diff --git a/apps/silcd/serverconfig.c b/apps/silcd/serverconfig.c index 45ef86f7..ae67475b 100644 --- a/apps/silcd/serverconfig.c +++ b/apps/silcd/serverconfig.c @@ -1261,11 +1261,11 @@ static const SilcConfigTable table_connparam[] = { { "version_software", SILC_CONFIG_ARG_STR, fetch_connparam, NULL }, { "version_software_vendor", SILC_CONFIG_ARG_STR, fetch_connparam, NULL }, { "anonymous", SILC_CONFIG_ARG_TOGGLE, fetch_connparam, NULL }, - { "qos", SILC_CONFIG_ARG_TOGGLE, fetch_generic, NULL }, - { "qos_rate_limit", SILC_CONFIG_ARG_INT, fetch_generic, NULL }, - { "qos_bytes_limit", SILC_CONFIG_ARG_INT, fetch_generic, NULL }, - { "qos_limit_sec", SILC_CONFIG_ARG_INT, fetch_generic, NULL }, - { "qos_limit_usec", SILC_CONFIG_ARG_INT, fetch_generic, NULL }, + { "qos", SILC_CONFIG_ARG_TOGGLE, fetch_connparam, NULL }, + { "qos_rate_limit", SILC_CONFIG_ARG_INT, fetch_connparam, NULL }, + { "qos_bytes_limit", SILC_CONFIG_ARG_INT, fetch_connparam, NULL }, + { "qos_limit_sec", SILC_CONFIG_ARG_INT, fetch_connparam, NULL }, + { "qos_limit_usec", SILC_CONFIG_ARG_INT, fetch_connparam, NULL }, { 0, 0, 0, 0 } }; -- 2.24.0