]> granicus.if.org Git - pdns/commitdiff
Do not strip dot in BindParser
authorAki Tuomi <cmouse@cmouse.fi>
Sat, 7 Nov 2015 13:04:50 +0000 (15:04 +0200)
committerAki Tuomi <cmouse@cmouse.fi>
Sat, 7 Nov 2015 13:04:50 +0000 (15:04 +0200)
pdns/bindparser.yy

index c3a6afd39af84c6f74e1cd77ba79884aea4d7369..d83190313f2b7ae89c45ae3ef0e9a7dad44d099e 100644 (file)
@@ -125,7 +125,7 @@ command:
 global_zone_command:
        ZONETOK quotedname zone_block
        {
-               s_di.name=DNSName(stripDot($2));
+               s_di.name=DNSName($2);
                free($2);
                parent->commit(s_di);
                s_di.clear();
@@ -133,7 +133,7 @@ global_zone_command:
        |       
        ZONETOK quotedname AWORD zone_block
        {
-               s_di.name=DNSName(stripDot($2));
+               s_di.name=DNSName($2);
                free($2);
                parent->commit(s_di);
                s_di.clear();