Commit 551bd389 authored by Jan Kadlec's avatar Jan Kadlec

ddns: Fixed RCODE.

parent 2843f5c8
......@@ -873,7 +873,7 @@ static uint16_t ret_to_rcode(int ret)
{
if (ret == KNOT_EMALF) {
return KNOT_RCODE_FORMERR;
} else if (ret == KNOT_EDENIED) {
} else if (ret == KNOT_EDENIED || ret == KNOT_ETTL) {
return KNOT_RCODE_REFUSED;
} else {
return KNOT_RCODE_SERVFAIL;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment