Make default virtual host work for .12, and make IPv4-only
[ircu2.10.12-pk.git] / include / s_conf.h
index 31a715740cb304294c3b4ed86047c2a9ed99bb81..763c78d477ff6b3dd2ccb1c3f51f871bc286c0c1 100644 (file)
@@ -52,8 +52,10 @@ struct ConfItem
   unsigned int status;      /* If CONF_ILLEGAL, delete when no clients */
   unsigned int clients;     /* Number of *LOCAL* clients using this */
   struct ConnectionClass *conn_class;  /* Class of connection */
+  struct irc_sockaddr origin;  /* local address */
   struct irc_sockaddr address; /* ip and port */
   char *host;
+  char *origin_name;
   char *passwd;
   char *name;
   time_t hold; /* Hold until this time (calendar time) */
@@ -103,7 +105,6 @@ struct DenyConf {
 struct LocalConf {
   char*          name;
   char*          description;
-  struct irc_in_addr vhost_address;
   unsigned int   numeric;
   char*          location1;
   char*          location2;