summaryrefslogtreecommitdiff
path: root/rr.c
diff options
context:
space:
mode:
authorMatthijs Mekking <matje@NLnetLabs.nl>2010-02-01 10:47:02 +0100
committerMatthijs Mekking <matje@NLnetLabs.nl>2010-02-01 10:47:02 +0100
commit8b1a12afbd430c2260c37b3c4b3a0f607d265ab1 (patch)
treec8173d36f72f19303c467a99587a7c73f3c96160 /rr.c
parent81980c530b504e92bad045fbfe79c52a892e8a8b (diff)
downloadldns-8b1a12afbd430c2260c37b3c4b3a0f607d265ab1.tar.gz
recognize $INCLUDE (and error with not implemented)
Diffstat (limited to 'rr.c')
-rw-r--r--rr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rr.c b/rr.c
index a8aad566..18bcd5d6 100644
--- a/rr.c
+++ b/rr.c
@@ -634,6 +634,8 @@ ldns_rr_new_frm_fp_l(ldns_rr **newrr, FILE *fp, uint32_t *default_ttl, ldns_rdf
*default_ttl = ldns_str2period(keyword + 5, &endptr);
}
s = LDNS_STATUS_SYNTAX_TTL;
+ } else if ((keyword = strstr(line, "$INCLUDE "))) {
+ s = LDNS_STATUS_SYNTAX_INCLUDE;
} else {
if (origin && *origin) {
s = ldns_rr_new_frm_str(&rr, (const char*) line, ttl, *origin, prev);