]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
have +[no]ttl as a alias for +[no]ttlid
authorMark Andrews <marka@isc.org>
Wed, 30 Apr 2014 06:05:18 +0000 (16:05 +1000)
committerMark Andrews <marka@isc.org>
Wed, 30 Apr 2014 06:05:18 +0000 (16:05 +1000)
bin/dig/dig.c

index 116dc36ec58759f07cf887c26881291a61f05841..b7cd073a6d63994e28d96162ad87d51e977f3afc 100644 (file)
@@ -1304,8 +1304,9 @@ plus_option(char *option, isc_boolean_t is_batchfile,
                        break;
                case 't':
                        switch (cmd[3]) {
+                       case 0:
                        case 'i': /* ttlid */
-                               FULLCHECK("ttlid");
+                               FULLCHECK2("ttl", "ttlid");
                                nottl = ISC_TF(!state);
                                break;
                        case 'u': /* ttlunits */