[svn] commit: r2470 - /trunk/src/bin/auth/main.cc

BIND 10 source code commits bind10-changes at lists.isc.org
Sat Jul 10 01:41:37 UTC 2010


Author: jinmei
Date: Sat Jul 10 01:41:37 2010
New Revision: 2470

Log:
a trivial bug fix: -a wasn't recognized.
this is very trivial so I'll skip explicit review.

Modified:
    trunk/src/bin/auth/main.cc

Modified: trunk/src/bin/auth/main.cc
==============================================================================
--- trunk/src/bin/auth/main.cc (original)
+++ trunk/src/bin/auth/main.cc Sat Jul 10 01:41:37 2010
@@ -98,7 +98,7 @@
     const char* address = NULL;
     bool use_ipv4 = true, use_ipv6 = true, cache = true;
 
-    while ((ch = getopt(argc, argv, "46np:v")) != -1) {
+    while ((ch = getopt(argc, argv, "46a:np:v")) != -1) {
         switch (ch) {
         case '4':
             // Note that -4 means "ipv4 only", we need to set "use_ipv6" here,




More information about the bind10-changes mailing list