From a2278f090858fcb69da788831f7e15775caab756 Mon Sep 17 00:00:00 2001 From: fatbob313 Date: Wed, 6 Jan 2010 23:51:53 +0000 Subject: [PATCH] Changed default values for bandwidth. --- openwrt/files/umurmur.conf | 13 ++++++++++++- src/conf.c | 2 +- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/openwrt/files/umurmur.conf b/openwrt/files/umurmur.conf index 09161fa..47c0dea 100644 --- a/openwrt/files/umurmur.conf +++ b/openwrt/files/umurmur.conf @@ -1,4 +1,4 @@ -max_bandwidth = 5000; +max_bandwidth = 48000; welcometext = "Welcome to uMurmur!"; certificate = "/etc/umurmur/cert.crt"; private_key = "/etc/umurmur/key.key"; @@ -28,4 +28,15 @@ channels = ( { description = "The Blue team channel"; } ); +# Channel links configuration. +channel_links = ( { + source = "Lobby"; + destination = "Red team"; + }, + { + source = "Lobby"; + destination = "Blue team"; + } +); + default_channel = "Lobby"; diff --git a/src/conf.c b/src/conf.c index 4d9a0e6..3068cd7 100644 --- a/src/conf.c +++ b/src/conf.c @@ -47,7 +47,7 @@ static config_t configuration; #define DEFAULT_CONFIG "/etc/umurmur.conf" #define DEFAULT_WELCOME "Welcome to uMurmur!" #define DEFAULT_MAX_CLIENTS 10 -#define DEFAULT_MAX_BANDWIDTH 5000 +#define DEFAULT_MAX_BANDWIDTH 48000 #define DEFAULT_BINDPORT 64738 const char defaultconfig[] = DEFAULT_CONFIG; -- 2.30.2