]> andersk Git - moira.git/blobdiff - gen/hesiod.dc
update machine info, add subnet
[moira.git] / gen / hesiod.dc
index 0e8b2504b9f750d4289f456952785639b717ddba..49c064a6952f8d372f25c90cfbb58bfd2e7e801f 100644 (file)
@@ -221,7 +221,7 @@ do_passwd()
                        login, shell);
                fprintf(uout, "%d.uid\tHS CNAME %s.passwd\n", uid, login);
            }
-           if (ptype[0] == 'P' && (mach = hash_lookup(machines, pid))) {
+           if (pid != 0 && (mach = hash_lookup(machines, pid))) {
                fprintf(bout, "%s.pobox\tHS %s \"POP %s %s\"\n",
                        login, HTYPE, mach, login);
            }
This page took 0.032522 seconds and 4 git commands to generate.