summaryrefslogtreecommitdiff
path: root/usr.sbin/nsd/zparser.y
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2014-09-16 17:01:39 +0000
committerBrad Smith <brad@cvs.openbsd.org>2014-09-16 17:01:39 +0000
commit2da82e684cba143b3500a53b71b59ff5bb1350ed (patch)
treece7147be3b7917773809419106a2efaf449b1c0c /usr.sbin/nsd/zparser.y
parentffd18e58ec16ffa88fbdf29eaf698da450af7402 (diff)
merge conflicts
Diffstat (limited to 'usr.sbin/nsd/zparser.y')
-rw-r--r--usr.sbin/nsd/zparser.y6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.sbin/nsd/zparser.y b/usr.sbin/nsd/zparser.y
index 63c40d5e188..4855784f7e2 100644
--- a/usr.sbin/nsd/zparser.y
+++ b/usr.sbin/nsd/zparser.y
@@ -336,13 +336,11 @@ wire_rel_dname: wire_label
}
;
-
-
-str_seq: STR
+str_seq: dotted_str
{
zadd_rdata_txt_wireformat(zparser_conv_text(parser->rr_region, $1.str, $1.len), 1);
}
- | str_seq sp STR
+ | str_seq sp dotted_str
{
zadd_rdata_txt_wireformat(zparser_conv_text(parser->rr_region, $3.str, $3.len), 0);
}