]> andersk Git - moira.git/commitdiff
setup_ahst: Return MR_NO_ID ("Cannot allocate new ID") rather than
authordanw <danw>
Sat, 30 May 1998 16:10:08 +0000 (16:10 +0000)
committerdanw <danw>
Sat, 30 May 1998 16:10:08 +0000 (16:10 +0000)
MR_ADDRESS ("Bad address") if the user specifies "unique" IP address
but there are no empty addresses in the subnet.

server/qsetup.pc

index 5cad7b2765f4a6a2bf93007fbfe2445a2d6d457a..ab8487612384e664c6b08a06022f0686206d04c7 100644 (file)
@@ -1015,7 +1015,7 @@ int setup_ahst(struct query *q, char **argv, client *cl)
                break;
            }
          if (cnt != 0)
-           return MR_ADDRESS;
+           return MR_NO_ID;
          else
            value = htonl(id);
        }
This page took 0.039659 seconds and 5 git commands to generate.