Use addpower and droppower

This commit is contained in:
Miek Gieben 2012-08-07 22:36:39 +02:00
parent 57e09b572a
commit fadc0b3a95
2 changed files with 4 additions and 4 deletions

View File

@ -29,5 +29,5 @@ Zones are listed in the additional section of the reply packet
USER. TXT "ADD miekg base64-tsig-secret"
USER. TXT "DROP miekg"
USER. TXT "ADDRIGHT miekg list" // list/write/drop
USER. TXT "DROPRIGHT miekg list"
USER. TXT "ADDPOWER miekg list" // list/write/drop
USER. TXT "DROPPOWER miekg list"

View File

@ -194,9 +194,9 @@ func configUSER(w dns.ResponseWriter, req *dns.Msg, t *dns.RR_TXT, c *Config) er
logPrintf("config USER %s: %s\n", u, p)
}
fallthrough
case "ADDRIGHT":
case "ADDPOWER":
fallthrough
case "DROPRIGHT":
case "DROPPOWER":
noerr(w, req)
}
return nil