Use addpower and droppower
This commit is contained in:
parent
57e09b572a
commit
fadc0b3a95
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue