[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Debian JP master SVN www commits (rev.553)



=======================================================
Repository: /org/svn.debian.or.jp/repos
  Revision: 553
  Commiter: yasu
      Date: 2008-02-04 11:46:20 +0900 (月, 04  2月 2008)
=======================================================
Log:

add --continent

=======================================================
Changed:

U   cdn/trunk/DNS-Balance/dns_balance.rb

Modified: cdn/trunk/DNS-Balance/dns_balance.rb
===================================================================
--- cdn/trunk/DNS-Balance/dns_balance.rb	2008-02-04 02:09:14 UTC (rev 552)
+++ cdn/trunk/DNS-Balance/dns_balance.rb	2008-02-04 02:46:20 UTC (rev 553)
@@ -253,9 +253,16 @@
     |o|
     OPT["port"] = o;
   }
+  opt.on("--geoip", "Enable GeoIP ") {
+    OPT["country"] = true
+    OPT["continent"] = true
+  }
   opt.on("--country", "Enable Country by GeoIP ") {
     OPT["country"] = true
   }
+  opt.on("--continent", "Enable Continent by GeoIP ") {
+    OPT["continent"] = true
+  }
   opt.on("--as", "Enable AS namespace") {
     OPT["as"] = true
   }