]> granicus.if.org Git - pdns/commitdiff
Remove hardcoded tld names co.za, co.il
authorChristian Hofstaedtler <christian.hofstaedtler@deduktiva.com>
Mon, 2 Jan 2017 10:12:13 +0000 (11:12 +0100)
committerChristian Hofstaedtler <christian.hofstaedtler@deduktiva.com>
Mon, 2 Jan 2017 10:12:15 +0000 (11:12 +0100)
These are already in the current public suffix list.

pdns/mkpubsuffixcc

index be5686be78cbb50b03f249aa5da792c0c43670ac..a65e97a6abc9b802a83461f52b1a4e8c1d8977b3 100755 (executable)
@@ -1,8 +1,8 @@
 #!/bin/sh
 
 (echo "const char* g_pubsuffix[]={"; 
-       for a in $(grep -v "//" effective_tld_names.dat  | grep \\. | egrep "^[.0-9a-z-]*$" ; echo "co.za" ; echo "co.il" )
+       for a in $(grep -v "//" effective_tld_names.dat  | grep \\. | egrep "^[.0-9a-z-]*$")
        do 
                echo \"$a\",
        done 
-echo "0};") > pubsuffix.cc
\ No newline at end of file
+echo "0};") > pubsuffix.cc