Similar to Kev's patch dated 2004-08-26, allow specification of local
[ircu2.10.12-pk.git] / ircd / s_conf.c
index 9b216653da47378c21b92b1a143ce5ceb068c4d8..bcc498bd6e2a00bd8fd9921d771a658c8c53c261 100644 (file)
@@ -245,6 +245,11 @@ lookup_confhost(struct ConfItem *aconf)
            aconf->host, aconf->name));
     return;
   }
+  if (aconf->origin_name
+      && !ircd_aton(&aconf->origin.addr, aconf->origin_name)) {
+    Debug((DEBUG_ERROR, "Origin name error: (%s) (%s)",
+        aconf->origin_name, aconf->name));
+  }
   /*
    * Do name lookup now on hostnames given and store the
    * ip numbers in conf structure.