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 00e43cf..c0a6a82 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");