Add ``ExternalIp'' config directive to ServerInfo tag in
[silc.git] / apps / silcd / serverconfig.h
index b5e91f65f84378d3d1d3739ba26644b94f316e95..5c77b8d26feeedeed03b8c64b1f049c8db6397fd 100644 (file)
@@ -59,6 +59,7 @@ typedef struct SilcServerConfigServerInfoStruct {
   char *server_name;
   SilcServerConfigServerInfoInterface *primary;
   SilcServerConfigServerInfoInterface *secondary;
+  char *external_ip;    /* E.g. public IP if we're in a NAT */
   char *server_type;   /* E.g. "Test Server" */
   char *location;      /* geographic location */
   char *admin;         /* admin full name */
@@ -182,7 +183,7 @@ typedef struct {
   SilcBool httpd;
   char *httpd_ip;
   SilcUInt16 httpd_port;
-  SilcBool open_server;
+  SilcBool dynamic_server;
   SilcBool local_channels;
 
   /* Other configuration sections */