]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
fix issue found by Shawn Starr: an 'IN' class in a zone statement with a trailing...
authorBert Hubert <bert.hubert@netherlabs.nl>
Tue, 15 Jul 2008 20:51:34 +0000 (20:51 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Tue, 15 Jul 2008 20:51:34 +0000 (20:51 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1233 d19b8d6e-7fed-0310-83ef-9ca221ded41b

pdns/backends/bind/bindparser.yy

index 2f389b566931734982a2fe29aa4b3e17fdb25067..3d740b1902f5f6a8660ee3f14953aa78e89ee524 100644 (file)
@@ -127,14 +127,13 @@ zone_command:
        {
                s_di.name=stripDot($2);
                free($2);
-               
                parent->commit(s_di);
                s_di.clear();
        }
        |       
        ZONETOK quotedname AWORD zone_block
        {
-               s_di.name=$2;
+               s_di.name=stripDot($2);
                free($2);
                parent->commit(s_di);
                s_di.clear();