Skip to content

Commit

Permalink
Remove hardcoded tld names co.za, co.il
Browse files Browse the repository at this point in the history
These are already in the current public suffix list.
  • Loading branch information
zeha committed Jan 2, 2017
1 parent 4f2f2d7 commit aae570c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pdns/mkpubsuffixcc
@@ -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
echo "0};") > pubsuffix.cc

0 comments on commit aae570c

Please sign in to comment.