add default value for conf.realm
authorFelix Fietkau <nbd@openwrt.org>
Mon, 31 Dec 2012 16:45:08 +0000 (17:45 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 31 Dec 2012 16:45:08 +0000 (17:45 +0100)
main.c

diff --git a/main.c b/main.c
index 00e43cf60eabbfb72e8dcbf944ce8b3e60372796..c0a6a823ae6f5b334a6c67d3721a91602ff554da 100644 (file)
--- a/main.c
+++ b/main.c
@@ -163,6 +163,7 @@ static void init_defaults(void)
        conf.network_timeout = 30;
        conf.http_keepalive = 0; /* fixme */
        conf.max_requests = 3;
+       conf.realm = "Protected Area";
 
        uh_index_add("index.html");
        uh_index_add("index.htm");