]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
add missing default action for +[no]ttl*
authorMark Andrews <marka@isc.org>
Wed, 30 Apr 2014 05:59:15 +0000 (15:59 +1000)
committerMark Andrews <marka@isc.org>
Wed, 30 Apr 2014 05:59:15 +0000 (15:59 +1000)
bin/dig/dig.c

index 8a8bf9f41716667bfcdc04e379f8082446fa185a..116dc36ec58759f07cf887c26881291a61f05841 100644 (file)
@@ -1313,6 +1313,8 @@ plus_option(char *option, isc_boolean_t is_batchfile,
                                nottl = ISC_FALSE;
                                ttlunits = ISC_TF(state);
                                break;
+                       default:
+                               goto invalid_option;
                        }
                        break;
                default: