updates.
[silc.git] / apps / silcd / server_internal.h
index 5cd0241ecf5ec5074ace09655c2dd0532a6e0bf2..8001cf382e1c7c1cabcc2ff1cbf32f5be3f528e7 100644 (file)
@@ -77,7 +77,11 @@ struct SilcServerStruct {
   SilcServerEntry router;           /* Pointer to the primary router */
   unsigned long router_connect;             /* Time when router was connected */
   SilcServerBackup backup;          /* Backup routers */
-  bool backup_router;
+  bool backup_router;               /* TRUE if this is backup router */
+  bool backup_primary;              /* TRUE if we've switched our primary
+                                       router to a backup router. */
+  SilcServerConnection router_conn; /* non-NULL when connecting to the
+                                      primary router, and NULL otherwise. */
 
   /* Current command identifier, 0 not used */
   uint16 cmd_ident;