[PATCH] allow .so TLD, disallow .yu TLD

Urs Janßen <[email protected]> Tue, 07 Dec 2010 16:36:39 +0100
Newsgroups gmane.network.tin.devel
Organization tin.org
Message-ID <[email protected]>
.so is active again, .yu is historic now

=== modified file 'include/policy.h'
--- include/policy.h	2010-10-17 19:03:17 +0000
+++ include/policy.h	2010-12-07 15:31:50 +0000
@@ -167,9 +167,10 @@
  * .sh  St. Helena                     .si  Slovenia
  * .sk  Slovakia                       .sl  Sierra Leone
  * .sm  San Marino                     .sn  Senegal
- * .sr  Surinam                        .st  Sao Tome and Principe
- * .su  Soviet Union (former)          .sv  El Salvador
- * .sy  Syrian Arab Republic           .sz  Swaziland
+ * .so  Somalia                        .sr  Surinam
+ * .st  Sao Tome and Principe          .su  Soviet Union (former)
+ * .sv  El Salvador                    .sy  Syrian Arab Republic
+ * .sz  Swaziland
  *
  * .tc  The Turks & Caicos Islands     .td  Chad
  * .tf  French Southern Territories    .tg  Togo
@@ -194,7 +195,6 @@
  * .wf  Wallis and Futuna Islands      .ws  Western Samoa
  *
  * .ye  Yemen                          .yt  Mayotte
- * .yu  Yugoslavia
  *
  * .za  South Africa                   .zm  Zambia
  * .zw  Zimbabwe
@@ -205,8 +205,10 @@
  * .cs  former Czechoslovakia, now .cz and .sk
  * .dd  former German Democratic Republic, now .de
  * .fx  France, Metropolitan
+ * .oz  Australian MHSnet
  * .um  United States Minor Outlying Islands
  * .yd  Democratic Yemen, now .ye
+ * .yu  Yugoslavia, now .rs and .me
  * .wg  West Bank and Gaza, now .ps
  * .zr  former Zaire, now .cd
  *
@@ -219,7 +221,6 @@
  * .gb  United Kingdom, use .uk
  * .nt  Neutral Zone
  * .sj  Svalbard and Jan Mayen Islands (Norway)
- * .so  Somalia
  *
  * requested new TLDs:
  * .ct  Catalonia
@@ -228,7 +229,6 @@
  * .hk  Hong Kong, now .cn
  * .su  former USSR, now .ru
  * .tp  former East Timor, now .tl
- * .yu  former Yugoslavia
  */
 
 static char gnksa_country_codes[26*26] = {
@@ -251,13 +251,13 @@
 /* P */ 1,0,0,0,1, 1,1,1,0,0, 1,1,1,1,0, 0,0,1,1,1, 0,0,1,0,1,0,
 /* Q */ 1,0,0,0,0, 0,0,0,0,0, 0,0,0,0,0, 0,0,0,0,0, 0,0,0,0,0,0,
 /* R */ 0,0,0,0,1, 0,0,0,0,0, 0,0,0,0,1, 0,0,0,1,0, 1,0,1,0,0,0,
-/* S */ 1,1,1,1,1, 0,1,1,1,0, 1,1,1,1,0, 0,0,1,0,1, 1,1,0,0,1,1,
+/* S */ 1,1,1,1,1, 0,1,1,1,0, 1,1,1,1,1, 0,0,1,0,1, 1,1,0,0,1,1,
 /* T */ 0,0,1,1,0, 1,1,1,0,1, 1,1,1,1,1, 1,0,1,0,1, 0,1,1,0,0,1,
 /* U */ 1,0,0,0,0, 0,1,0,0,0, 1,0,0,0,0, 0,0,0,1,0, 0,0,0,0,1,1,
 /* V */ 1,0,1,0,1, 0,1,0,1,0, 0,0,0,1,0, 0,0,0,0,0, 1,0,0,0,0,0,
 /* W */ 0,0,0,0,0, 1,0,0,0,0, 0,0,0,0,0, 0,0,0,1,0, 0,0,0,0,0,0,
 /* X */ 0,0,0,0,0, 0,0,0,0,0, 0,0,0,0,0, 0,0,0,0,0, 0,0,0,0,0,0,
-/* Y */ 0,0,0,0,1, 0,0,0,0,0, 0,0,0,0,0, 0,0,0,0,1, 1,0,0,0,0,0,
+/* Y */ 0,0,0,0,1, 0,0,0,0,0, 0,0,0,0,0, 0,0,0,0,1, 0,0,0,0,0,0,
 /* Z */ 1,0,0,0,0, 0,0,0,0,0, 0,0,1,0,0, 0,0,0,0,0, 0,0,1,0,0,0
 /*      A B C D E  F G H I J  K L M N O  P Q R S T  U V W X Y Z */
 };
@@ -328,6 +328,7 @@
 	"xn--mgbaam7a8h",	/* United Arab Emirates */
 #	if 0
 	/* purposed IDN ccTLDs */
+	"xn--mgba3a4f16a",	/* Iran */
 	"xn--wgbl6a",		/* Qatar */
 	"xn--mgbtf8fl",		/* Syria */
 #	endif /* 0 */