Fix issue when validating a response containing the original wildcard record

e.g., a response to *.foo.bar.com itself.
Enable debug logging when debug=true.
This commit is contained in:
David Blacka
2015-07-28 15:38:27 -04:00
parent 37e9932d6e
commit a72a903d0b
2 changed files with 11 additions and 3 deletions

View File

@@ -343,6 +343,7 @@ public class DNSSECValTool {
dr.dnskeyNames.add(optarg);
} else if (opt.equals("debug")) {
dr.debug = Boolean.parseBoolean(optarg);
rootLogger.setLevel(Level.TRACE);
} else {
System.err.println("Unrecognized option: " + opt);
usage();