summaryrefslogtreecommitdiff
path: root/src/v1.erl
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2016-04-07 16:04:31 +0200
committerLinus Nordberg <linus@nordu.net>2016-04-07 16:06:12 +0200
commit5485d7c6724a34db28c4da34386caa8d4059f11d (patch)
tree251aa2e2d8f6d8645e1a73298dddf972f7c2b92b /src/v1.erl
parent03874b8eca8f065f6a1b133f06f19c0ff1d1494e (diff)
Canonicalise DS RR and refactor dns a bit.
Rename split_rrset/1 -> decode_rrset/1. Add type rr() and use it. Canonicalise DS RR.
Diffstat (limited to 'src/v1.erl')
-rw-r--r--src/v1.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/v1.erl b/src/v1.erl
index bab77aa..ef9aadd 100644
--- a/src/v1.erl
+++ b/src/v1.erl
@@ -174,7 +174,7 @@ decode_chain(List) ->
end.
add_ds_helper(Data) ->
- case dnssecport:dnssec_validate(Data) of
+ case dnssecport:validate(Data) of
{ok, [DS | Chain]} ->
success(catlfish:add_chain(DS, Chain, normal));
{error, ErrorCode} ->