Added statistics updating and statisics dumping with SIGUSR1.
[silc.git] / apps / silcd / serverconfig.c
index 3a8005324a44bce23b9e62630df7343475d0005c..d9fe747adb60d02bd2a43f4b5bb194f00c68754c 100644 (file)
@@ -967,6 +967,7 @@ SILC_CONFIG_CALLBACK(fetch_router)
     CONFIG_IS_DOUBLE(tmp->backup_replace_ip);
     tmp->backup_replace_ip = (*(char *)val ? strdup((char *) val) :
                              strdup("*"));
+    tmp->backup_router = TRUE;
   }
   else if (!strcmp(name, "backupport")) {
     int port = *(int *)val;
@@ -1255,8 +1256,6 @@ SilcServerConfig silc_server_config_alloc(const char *filename)
     return NULL;
   }
 
-  /* XXX are there any other mandatory sections in the config file? */
-
   /* Set default to configuration parameters */
   silc_server_config_set_defaults(config_new);