diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-09-25 20:21:35 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-09-25 20:21:35 +0000 |
commit | 8bbbbaf87b5ab3c0a5918d2bc8d1d7f22cf54f53 (patch) | |
tree | 9c9019d25cbba426218b1fd95560226e4e127cf1 /contrib | |
parent | b2c7090da6e0d01322d6f1590c46ca03e47f6e26 (diff) | |
download | tor-8bbbbaf87b5ab3c0a5918d2bc8d1d7f22cf54f53.tar.gz tor-8bbbbaf87b5ab3c0a5918d2bc8d1d7f22cf54f53.zip |
Add country-code support to configured node lists to implement the ever-popular "no exits in Monaco" feature (ExcludeExitNodes {MC}). Also allow country codes and IP ranges in ExitNodes. (EntryNodes needs more work.) Based on code by Robert Hogan. Needs more testing.
svn:r16966
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/checkSpace.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/checkSpace.pl b/contrib/checkSpace.pl index fb0c9861bf..37f079c52b 100755 --- a/contrib/checkSpace.pl +++ b/contrib/checkSpace.pl @@ -72,8 +72,8 @@ for $fn (@ARGV) { # print " //:$fn:$.\n"; s!//.*!!; } - ## Warn about braces preceded by non-space. - if (/([^\s])\{/) { + ## Warn about unquoted braces preceded by non-space. + if (/([^\s'])\{/) { print " $1\{:$fn:$.\n"; } ## Warn about multiple internal spaces. |